nextcloud/tests/lib/AppFramework
Roeland Jago Douma b0c030cbb5
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 15:18:32 +02:00
..
Controller Set empty CSP by default 2019-04-16 14:09:39 +02: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 empty CSP by default 2019-04-16 14:09:39 +02: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 15:18:32 +02:00