Merge pull request #7006 from appwrite/fix-http-status-code
Updated the error code for unsupported protocol
This commit is contained in:
commit
db52e047c6
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ return [
|
||||||
Exception::GENERAL_PROTOCOL_UNSUPPORTED => [
|
Exception::GENERAL_PROTOCOL_UNSUPPORTED => [
|
||||||
'name' => Exception::GENERAL_PROTOCOL_UNSUPPORTED,
|
'name' => Exception::GENERAL_PROTOCOL_UNSUPPORTED,
|
||||||
'description' => 'The request cannot be fulfilled with the current protocol. Please check the value of the _APP_OPTIONS_FORCE_HTTPS environment variable.',
|
'description' => 'The request cannot be fulfilled with the current protocol. Please check the value of the _APP_OPTIONS_FORCE_HTTPS environment variable.',
|
||||||
'code' => 500,
|
'code' => 426,
|
||||||
],
|
],
|
||||||
Exception::GENERAL_CODES_DISABLED => [
|
Exception::GENERAL_CODES_DISABLED => [
|
||||||
'name' => Exception::GENERAL_CODES_DISABLED,
|
'name' => Exception::GENERAL_CODES_DISABLED,
|
||||||
|
|
Loading…
Reference in a new issue