#102529Properly support HTTP Status Code 201 within extbase
Description
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/201
- https://www.rfc-editor.org/rfc/rfc9110#name-201-created
The 201 status code can contain a location header, like the 3xx redirect status codes.
This is currently not possible via Extbase, as Extbase has hard checks regarding >= 300 within the Bootstrap class after internal dispatching of the request. Returning a redirect with 201 and a url is therefore not working as expected.
Browsers (tested with Firefox) probably do not support this, but APIs might need to conform to this.
The corresponding checks regarding >=300 could be adjusted to also check for 201 status code.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Properly support HTTP Status Code 201 within extbase Resolves: #102529 Releases: main