Skip to content

Commit

Permalink
http: add missing ClientRequest:_implicitHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Phillips committed Jun 22, 2012
1 parent dc82393 commit 364d996
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/luvit/http.lua
Expand Up @@ -753,6 +753,11 @@ function ClientRequest:_deferToConnect(callback)
end
function ClientRequest:_implicitHeader()
self:_storeHeader(self.method .. ' ' .. self.path .. ' HTTP/1.1\r\n',
self:_renderHeaders())
end
local Request = iStream:extend()
http.Request = Request
Expand Down

0 comments on commit 364d996

Please sign in to comment.