nextcloud/lib
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
..
composer update autoloader 2017-03-30 11:14:56 +02:00
l10n [tx-robot] updated from transifex 2017-04-03 00:08:20 +00:00
private Don't try to parse empty body if there is no body 2017-04-04 08:22:33 +02:00
public rename fun to func 2017-03-30 11:15:06 +02:00
autoloader.php Revert "Add a magic wrapper to allow phpunit4 to run the code again " 2017-03-20 14:25:43 +01:00
base.php Use SystemConfig instead of AllConfig for DB stuff 2017-03-19 15:53:49 -06:00