-
Notifications
You must be signed in to change notification settings - Fork 0
/
.curlrc
38 lines (27 loc) · 932 Bytes
/
.curlrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
###############
# cURL config #
###############
# Show progress bar (you can wlso manually pass the -# flag)
# progress-bar
# Wait 60 seconds before timing out
connect-timeout = 60
# Follow HTTP redirects
location
# When following a redirect, automatically set the previous URL as referer
referer = ";auto"
# Show error messages
show-error
# Create dirs
create-dirs
# Read .netrc for user name and password OR URL
# netrc-optional
# Headers
-H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
-H "Upgrade-Insecure-Requests: 1"
-H "Accept-Encoding: gzip, deflate, sdch"
-H "Accept-Language: en-US,en;q=0.8"
# default proxy for curl
# proxy=http://username:password@host:port
# Send a fake UA string for the HTTP servers that sniff it
# user-agent = "Mozilla/5.0 Gecko"
# user-agent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" # Disguise as IE 9 on Windows 7