aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-01-16 23:34:45 +0000
committerMatthew Wild <mwild1@gmail.com>2009-01-16 23:34:45 +0000
commit5da8d030772c430bafef92bab6fa3d43767695b2 (patch)
tree105eda26eb21f1699926ae73c8f88ba42dee1480
parenta2f043a9e792b3d339444a6148c4f236f9570788 (diff)
downloadprosody-5da8d030772c430bafef92bab6fa3d43767695b2.tar.gz
prosody-5da8d030772c430bafef92bab6fa3d43767695b2.zip
net.http: custom_headers -> headers
-rw-r--r--net/http.lua2
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