Software /
code /
prosody
Comparison
util/httpstream.lua @ 4772:fc16f39e0c79
util.httpstream: Remove COMPAT properties from request
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Apr 2012 14:31:02 +0100 |
parent | 3903:5924197aa163 |
comparison
equal
deleted
inserted
replaced
4771:31a40da59308 | 4772:fc16f39e0c79 |
---|---|
105 success_cb({ | 105 success_cb({ |
106 code = status_code; | 106 code = status_code; |
107 httpversion = httpversion; | 107 httpversion = httpversion; |
108 headers = headers; | 108 headers = headers; |
109 body = body; | 109 body = body; |
110 -- COMPAT the properties below are deprecated | |
111 responseversion = httpversion; | |
112 responseheaders = headers; | |
113 }); | 110 }); |
114 end | 111 end |
115 else coroutine.yield("unknown-parser-type"); end | 112 else coroutine.yield("unknown-parser-type"); end |
116 end | 113 end |
117 | 114 |