diff options
-rw-r--r-- | lem/http.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lem/http.lua b/lem/http.lua index dcdbd56..1f972a9 100644 --- a/lem/http.lua +++ b/lem/http.lua @@ -39,7 +39,7 @@ function http.Request:body() if len <= 0 then return body end if self.headers['expect'] == '100-continue' then - local ok, err = self.client:send('HTTP/1.1 100 Continue\r\n\r\n') + local ok, err = self.client:write('HTTP/1.1 100 Continue\r\n\r\n') if not ok then return nil, err end end |