nextcloud/tests/lib/AppFramework
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
..
Controller Fix unit tests 2017-03-28 21:00:12 -06:00
Db Fix getMock MapperTestUtility 2016-09-07 20:42:37 +02:00
DependencyInjection Add DI intergration tests 2017-03-21 08:52:20 +01:00
Http Don't try to parse empty body if there is no body 2017-04-04 08:22:33 +02:00
Middleware add some unit tests 2017-01-18 15:25:16 +01:00
Routing Allow ocs/v2.php/cloud/... routes 2016-08-08 15:01:26 +02:00
Utility add some unit tests 2017-01-18 15:25:16 +01:00
AppTest.php No body or content-length for 204 and 304 responses 2016-08-31 23:07:48 +02:00