net.http: custom_headers -> headers

Fri, 16 Jan 2009 23:34:45 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 16 Jan 2009 23:34:45 +0000
changeset 738
cf70342985df
parent 737
ade262a8da7f
child 739
1def06cd9311
child 753
3a0f9cf38f99

net.http: custom_headers -> headers

net/http.lua file | annotate | diff | comparison | revisions
--- a/net/http.lua	Fri Jan 16 23:33:19 2009 +0000
+++ b/net/http.lua	Fri Jan 16 23:34:45 2009 +0000
@@ -123,7 +123,7 @@
 	end
 	
 	if ex then
-		custom_headers = ex.custom_headers;
+		custom_headers = ex.headers;
 		req.onlystatus = ex.onlystatus;
 		body = ex.body;
 		if body then

mercurial