File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Returns a *http.socks* object.
11
11
12
12
### ` fdopen(socket) ` <!-- --> {#http.socks.fdopen}
13
13
14
- This function takes an existing cqueues.socket as a parameter and returns a * http.socks* object with ` socket ` as it's base.
14
+ This function takes an existing cqueues.socket as a parameter and returns a * http.socks* object with ` socket ` as its base.
15
15
16
16
17
17
### ` socks.needs_resolve ` <!-- --> {#http.socks.needs_resolve}
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ local function new_from_uri(uri_t, headers)
81
81
else
82
82
field = " authorization"
83
83
end
84
- local userinfo = http_util .decodeURIComponent (uri_t .userinfo ) -- XXX: this doesn't seem right, but it's same behaviour as curl
84
+ local userinfo = http_util .decodeURIComponent (uri_t .userinfo ) -- XXX: this doesn't seem right, but it's the same behaviour as curl
85
85
headers :upsert (field , " basic " .. basexx .to_base64 (userinfo ), true )
86
86
end
87
87
if not headers :has (" user-agent" ) then
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ local function imf_date(time)
177
177
return os.date (" !%a, %d %b %Y %H:%M:%S GMT" , time )
178
178
end
179
179
180
- -- This pattern checks if it's argument is a valid token, if so, it returns it as is.
180
+ -- This pattern checks if its argument is a valid token, if so, it returns it as is.
181
181
-- Otherwise, it returns it as a quoted string (with any special characters escaped)
182
182
local maybe_quote do
183
183
local EOF = lpeg .P (- 1 )
You can’t perform that action at this time.
0 commit comments