diff options
author | E. Westbrook <github@westbrook.io> | 2019-02-28 18:40:30 -0700 |
---|---|---|
committer | E. Westbrook <github@westbrook.io> | 2019-02-28 18:40:30 -0700 |
commit | 297f9d0277ca4c93a5bd4306e0d31a4a98940089 (patch) | |
tree | f2c2ab1bc35fc5ee8695d4bc52c5bd0b21ad9dbf /src | |
parent | 34d525984c42d9f4b34c9c4f318b483a99afdf61 (diff) | |
download | luasocket-297f9d0277ca4c93a5bd4306e0d31a4a98940089.tar.gz luasocket-297f9d0277ca4c93a5bd4306e0d31a4a98940089.tar.bz2 luasocket-297f9d0277ca4c93a5bd4306e0d31a4a98940089.zip |
bugfix: http.lua multischeme change that got dropped during PR conflict resolution
Diffstat (limited to 'src')
-rw-r--r-- | src/http.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/http.lua b/src/http.lua index 2fa5a26..6a3416e 100644 --- a/src/http.lua +++ b/src/http.lua | |||
@@ -264,10 +264,8 @@ end | |||
264 | 264 | ||
265 | -- default url parts | 265 | -- default url parts |
266 | local default = { | 266 | local default = { |
267 | host = "", | 267 | path ="/" |
268 | port = PORT, | 268 | , scheme = "http" |
269 | path ="/", | ||
270 | scheme = SCHEME | ||
271 | } | 269 | } |
272 | 270 | ||
273 | local function adjustrequest(reqt) | 271 | local function adjustrequest(reqt) |