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.
1111
1212### ` fdopen(socket) ` <!-- --> {#http.socks.fdopen}
1313
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.
1515
1616
1717### ` 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)
8181 else
8282 field = " authorization"
8383 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
8585 headers :upsert (field , " basic " .. basexx .to_base64 (userinfo ), true )
8686 end
8787 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)
177177 return os.date (" !%a, %d %b %Y %H:%M:%S GMT" , time )
178178end
179179
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.
181181-- Otherwise, it returns it as a quoted string (with any special characters escaped)
182182local maybe_quote do
183183 local EOF = lpeg .P (- 1 )
You can’t perform that action at this time.
0 commit comments