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
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
JSONResponseTest.php
OCSResponseTest.php
OutputTest.php add tests for http/output 2016-11-16 15:30:37 +01:00
RedirectResponseTest.php
RequestStream.php
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