Mercurial > prosody-hg
view plugins/mod_posix.lua @ 14086:79a6598cef0b 13.0
net.http.parser: Fix handling of chunked request
How to determine whether a request/response has a body depends on
different things for requests and responses, which was not reflected in
the code.
Test case based on
curl http://localhost:5280/debug -H "Transfer-Encoding: chunked" --json '{"json":true}'
Thanks isafashiondev
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 20 Feb 2026 15:08:03 +0100 |
| parents | c673ff1075bd |
| children |
line wrap: on
line source
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- module:set_global(); -- we're a global module -- TODO delete this whole concept
