diff options
-rw-r--r-- | net/http.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http.lua b/net/http.lua index 5472f56a..043c5890 100644 --- a/net/http.lua +++ b/net/http.lua @@ -123,7 +123,7 @@ function request(u, ex, callback) end if ex then - custom_headers = ex.custom_headers; + custom_headers = ex.headers; req.onlystatus = ex.onlystatus; body = ex.body; if body then |