Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSergio Bertolín <sbertolin@solidgear.es>2016-10-04 15:51:54 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2016-10-04 15:57:40 +0300
commitbede190a3019b82740b8c5ec5b538ccc325f77a0 (patch)
tree94f975808206ff9c0ee636c2b98c8212378f1869 /lib
parent8b20b12584bb49b46913ffb9ed273c15b245cc27 (diff)
[stable9.1] 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')
-rw-r--r--lib/private/legacy/response.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/legacy/response.php b/lib/private/legacy/response.php
index 54a9385b7a6..5e2dad6128c 100644
--- a/lib/private/legacy/response.php
+++ b/lib/private/legacy/response.php
@@ -32,6 +32,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;