We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
現状はBEARリソースの結果をトランザクションステータスに使っていますが、 このやり方だと、ページのレスポンスステータスにトランザクションステータスが一致しないケースが生じる問題があります。
たとえばカスタムの TwigErrorHandler を使っており、 リクエストされたURIが存在しなかった場合にカスタムエラーページリソースに対してリクエストを行う実装をしていたとすると、 カスタムリソースリクエストの実行結果として 200 がトランザクションステータスに記録されます。 しかし、404 を記録する方がのぞましいです。
この問題は http_response_code 関数結果をトランザクションステータスに使うことで修正可能な見込みです。
2022年対応予定です。
関連PR #22
The text was updated successfully, but these errors were encountered:
No branches or pull requests
現状はBEARリソースの結果をトランザクションステータスに使っていますが、
このやり方だと、ページのレスポンスステータスにトランザクションステータスが一致しないケースが生じる問題があります。
たとえばカスタムの TwigErrorHandler を使っており、
リクエストされたURIが存在しなかった場合にカスタムエラーページリソースに対してリクエストを行う実装をしていたとすると、
カスタムリソースリクエストの実行結果として 200 がトランザクションステータスに記録されます。
しかし、404 を記録する方がのぞましいです。
この問題は http_response_code 関数結果をトランザクションステータスに使うことで修正可能な見込みです。
対応予定
2022年対応予定です。
関連PR #22
The text was updated successfully, but these errors were encountered: