Skip to content

Commit 921e04d

Browse files
committed
Typos: it's vs its
1 parent d5d948b commit 921e04d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/modules/http.socks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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}

http/request.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

http/util.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ local function imf_date(time)
177177
return os.date("!%a, %d %b %Y %H:%M:%S GMT", time)
178178
end
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)
182182
local maybe_quote do
183183
local EOF = lpeg.P(-1)

0 commit comments

Comments
 (0)