nextcloud/tests/lib/AppFramework
Roeland Jago Douma 2e567918c1 Check the actual status code for 204 and 304
The header is the full http header like: HTTP/1.1 304 Not Modified
So comparing this to an int always yields false
This also makes the 304 RFC compliant as the resulting content length
should otherwise be the length of the message and not 0.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-05-24 17:51:52 +00:00
..
Controller Set default frame-ancestors to 'self' 2019-01-08 15:36:40 +01:00
Db [#11236] Set parameter type in QBMapper 2019-03-24 22:43:45 +01:00
DependencyInjection Cleanup middleware registering 2019-01-03 11:50:01 +01:00
Http Set default frame-ancestors to 'self' 2019-01-08 15:36:40 +01:00
Middleware Add StandaloneTemplateResponse 2019-02-06 11:26:18 +01:00
Routing Allow resources via OCS as well 2019-01-22 14:18:58 +01:00
Utility Add tests for multiple parameters 2017-04-13 12:00:18 +02:00
AppTest.php Check the actual status code for 204 and 304 2019-05-24 17:51:52 +00:00