Skip to content
Permalink
Browse files

http: add missing ClientRequest:_implicitHeader

  • Loading branch information...
Ryan Phillips
Ryan Phillips committed Jun 22, 2012
1 parent dc82393 commit 364d996a37edec7765a2e216751843ea54e0f2ef
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/luvit/http.lua
@@ -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

0 comments on commit 364d996

Please sign in to comment.
You can’t perform that action at this time.