102 end |
102 end |
103 end |
103 end |
104 |
104 |
105 success_cb({ |
105 success_cb({ |
106 code = status_code; |
106 code = status_code; |
|
107 httpversion = httpversion; |
|
108 headers = headers; |
|
109 body = body; |
|
110 -- COMPAT the properties below are deprecated |
107 responseversion = httpversion; |
111 responseversion = httpversion; |
108 responseheaders = headers; |
112 responseheaders = headers; |
109 body = body; |
|
110 }); |
113 }); |
111 end |
114 end |
112 else coroutine.yield("unknown-parser-type"); end |
115 else coroutine.yield("unknown-parser-type"); end |
113 end |
116 end |
114 |
117 |