nextcloud-server/lib/private/AppFramework
Roeland Jago Douma d0f8fa4619 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:52:33 +07:00
..
DependencyInjection Do not do redirect handling when loggin out 2019-02-18 22:22:12 +07:00
Http Only trust the X-FORWARDED-HOST header for trusted proxies 2018-12-19 08:48:18 +07:00
Middleware Do not do redirect handling when loggin out 2019-02-18 22:22:12 +07:00
OCS Do not send a body for "No content", "Not modified" and others 2018-05-04 13:46:13 +07:00
Routing Revert "Match slashes in ../{id} resource routes" 2017-04-18 21:50:36 +07:00
Utility Fix tests 2018-11-02 19:20:37 +07:00
App.php Check the actual status code for 204 and 304 2019-05-24 17:52:33 +07:00
Http.php Update license headers 2017-11-06 16:56:19 +07:00
Logger.php Add wrapper Logger in DIContainer 2018-09-04 10:05:25 +07:00