diff options
author | Sergio BertolĂn <sbertolin@solidgear.es> | 2016-10-04 14:51:54 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-10-20 17:21:08 +0200 |
commit | 0417cbafd045b13e86c33d72f0a3fd318f97eb43 (patch) | |
tree | 02880f0b016cb1746251d481048a0b17d5b3922f /lib/private/legacy/response.php | |
parent | ed4ed7911a9329462fef02c2d50709b3f092538e (diff) | |
download | nextcloud-server-0417cbafd045b13e86c33d72f0a3fd318f97eb43.tar.gz nextcloud-server-0417cbafd045b13e86c33d72f0a3fd318f97eb43.zip |
Changed request to not add a prefix to the url (#26256)
* Changed request to not add a prefix to the url
* Expecting forbidden instead of service unavailable
* Handling login exceptions
Diffstat (limited to 'lib/private/legacy/response.php')
-rw-r--r-- | lib/private/legacy/response.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/legacy/response.php b/lib/private/legacy/response.php index 0ec27251ba5..88725d5e30b 100644 --- a/lib/private/legacy/response.php +++ b/lib/private/legacy/response.php @@ -33,6 +33,7 @@ class OC_Response { const STATUS_NOT_MODIFIED = 304; const STATUS_TEMPORARY_REDIRECT = 307; const STATUS_BAD_REQUEST = 400; + const STATUS_FORBIDDEN = 403; const STATUS_NOT_FOUND = 404; const STATUS_INTERNAL_SERVER_ERROR = 500; const STATUS_SERVICE_UNAVAILABLE = 503; |