server/tests/lib/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
..
ContentSecurityPolicyTest.php Fix unit tests 2017-03-28 21:00:12 -06:00
DataResponseTest.php Fix unit tests 2017-03-28 21:00:12 -06:00
DispatcherTest.php Fix phpunit-5.4 wargning 2016-07-11 08:50:07 +02:00
DownloadResponseTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
EmptyContentSecurityPolicyTest.php Fix unit tests 2017-03-28 21:00:12 -06:00
FileDisplayResponseTest.php Add FileDisplayResponse 2016-09-05 15:09:54 +02:00
HttpTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
JSONResponseTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
OCSResponseTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
OutputTest.php add tests for http/output 2016-11-16 15:30:37 +01:00
RedirectResponseTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
RequestStream.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
RequestTest.php Don't try to parse empty body if there is no body 2017-04-04 08:22:33 +02:00
ResponseTest.php Fix unit tests 2017-03-28 21:00:12 -06:00
StreamResponseTest.php Fix phpunit-5.4 wargning 2016-07-11 08:50:07 +02:00
TemplateResponseTest.php Fix phpunit-5.4 wargning 2016-07-11 08:50:07 +02:00