-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.curlrc
More file actions
119 lines (96 loc) · 3.17 KB
/
.curlrc
File metadata and controls
119 lines (96 loc) · 3.17 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
#
# 888
# 888
# 888
# .d8888b 888 888 888d888 888 888d888 .d8888b
# d88P" 888 888 888P" 888 888P" d88P"
# 888 888 888 888 888 888 888
# d8b Y88b. Y88b 888 888 888 888 Y88b.
# Y8P "Y8888P "Y88888 888 888 888 "Y8888P
#
# -------------------------------------------------------------------------
# Version: 0.1
# File: .curlrc
# Source: https://github.com/devpunks
# Author: Ahmid-Ra (github.com/snuggs)
# Maintainer: devPunks <https://github.com/devpunks>
# Description: Curl configuration
# -------------------------------------------------------------------------
#
# - https://everything.curl.dev
# - https://gist.github.com/v1m/f1d4751883f19c916515
# - https://everything.curl.dev/cmdline/configfile.html
# - https://gist.github.com/eneko/dc2d8edd9a4b25c5b0725dd123f98b10
# =========================================================================
# Proxies -----------------------------------------------------------------
# proxy="http://user:pwd@127.0.0.1:8888"
# Connection --------------------------------------------------------------
no-keepalive
# keepalive-time 60
# https://sneppets.com/software/connection-0-to-host-localhost-left-intact
header = "Connection: close"
# Headers -----------------------------------------------------------------
# Use double quotes to prevent warnings
# https://gist.github.com/v1m/f1d4751883f19c916515?permalink_comment_id=3721998#gistcomment-3721998
header = "Upgrade-Insecure-Requests: 1"
header = "Accept-Language: en-US,en;q=0.8"
header = "Accept-Encoding: gzip,deflate,br"
# - https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept
header = "Accept: text/html,image/*,application/json,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
# Agents ------------------------------------------------------------------
# When following a redirect,
# auto(matically) set the previous URL as referer
referer = "https://www.google.com/bot.html;auto"
# Spoof User Agent
user-agent = "Lynx/2.8.9rel.1 libwww-FM/2.14 SSL-MM/1.4.1"
# Settings ----------------------------------------------------------------
# Bold headers
styled-output
# HTTP/1.1
http1.1
# Resolve names to IPv4 addresses only
ipv4
# ssl
# Permit unsafe SSL
insecure
# HTTP response headers
# include
# trace
trace-time
# send to stdout
# trace-ascii -
# Errors
show-error
# Failures
fail-with-body
# Follow HTTP redirects,
location
# ...And send AUTH
location-trusted
# read .netrc for user name and password OR URL
# netrc-optional
# (S)FTP
append
# Compressed responses
compressed
# SCP / (S)FTP
compressed-ssh
# Don't clobber files (see output, remote-name(-all), remote-header-name)
no-clobber
# Download directories
create-dirs
# Maximum transfer time (in seconds)
max-time = 60.000
# Display progress as a simple progress bar
progress-bar
parallel
# Immediate concurrent
parallel-immediate
# Max concurrent (50 - 300)
parallel-max = 100
# Wait before timing out (in seconds)
connect-timeout = 10.000
# Wait 1 seconds before HTTP100 timeout
expect100-timeout = 1
# # Make the timestamp of the local file the same as the remote one (if possible)
remote-time