diff options
author | Diego Nehab <diego.nehab@gmail.com> | 2019-03-01 00:38:44 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-01 00:38:44 -0300 |
commit | 5cc91ab6001efb91a16104dee253e2f9111dddd4 (patch) | |
tree | f2c2ab1bc35fc5ee8695d4bc52c5bd0b21ad9dbf /src | |
parent | 34d525984c42d9f4b34c9c4f318b483a99afdf61 (diff) | |
parent | 297f9d0277ca4c93a5bd4306e0d31a4a98940089 (diff) | |
download | luasocket-5cc91ab6001efb91a16104dee253e2f9111dddd4.tar.gz luasocket-5cc91ab6001efb91a16104dee253e2f9111dddd4.tar.bz2 luasocket-5cc91ab6001efb91a16104dee253e2f9111dddd4.zip |
Merge pull request #272 from ewestbrook/pr268bugfix
bugfix: http.lua confict resolution omission
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) |