server/tests
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
..
apps [App Code Check] add check for version and mandatory fields 2015-09-24 11:58:12 +02:00
Core Fix gzip files for Safari 2017-03-29 00:11:51 -06:00
data Add tests for SCSSCacher 2017-03-20 14:12:35 +01:00
docker Namespace and array syntax fixes 2017-03-19 14:52:54 -06:00
lib Don't try to parse empty body if there is no body 2017-04-04 08:22:33 +02:00
objectstore make object prefix configurable 2016-11-14 15:10:56 +01:00
Settings Fix unit tests of master 2017-03-16 12:46:02 +01:00
travis Changed name of default logfile from owncloud.log to nextcloud.log. 2016-07-04 11:50:32 +02:00
apps.php Fix the tests again 2016-05-25 16:51:02 +02:00
bootstrap.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
enable_all.php Fix tests 2016-10-31 17:17:45 +01:00
karma.config.js Update karma, use sinon from npm 2017-03-23 23:35:41 -06:00
phpunit-autotest-external.xml Adjust the phpunit config 2016-05-25 15:14:37 +02:00
phpunit-autotest.xml [CI] Can we get some faster phpunit execution? (#27113) 2017-03-20 12:34:05 -06:00
preseed-config.php add ci support for s3 object store 2017-01-02 14:17:19 +01:00
startsessionlistener.php Make compatible with PHPUnit 5.1 2015-12-10 09:22:41 +01:00