From 5da8d030772c430bafef92bab6fa3d43767695b2 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 16 Jan 2009 23:34:45 +0000 Subject: net.http: custom_headers -> headers --- net/http.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/http.lua') 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 -- cgit v1.2.3