1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

Merge pull request #7006 from appwrite/fix-http-status-code

Updated the error code for unsupported protocol
This commit is contained in:
Christy Jacob 2023-10-25 14:56:45 +04:00 committed by GitHub
commit db52e047c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,7 @@ return [
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.',
'code' => 500,
'code' => 426,
],
Exception::GENERAL_CODES_DISABLED => [
'name' => Exception::GENERAL_CODES_DISABLED,