nextcloud/lib/private/AppFramework/Http
Roeland Jago Douma 2a9192334e
Don't try to parse empty body if there is no body
Fixes #3890

If we do a put request without a body the current code still tries to
read the body. This patch makes sure that we do not try to read the body
if the content length is 0.

See RFC 2616 Section 4.3

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-04-04 08:22:33 +02:00
..
Dispatcher.php Merge pull request #507 from nextcloud/run-le-script 2016-07-21 23:27:15 +02:00
Output.php allow passing a stream to StreamResponse 2016-11-16 15:30:36 +01:00
Request.php Don't try to parse empty body if there is no body 2017-04-04 08:22:33 +02:00