Repository navigation
2.13.0
Added
- #41 adds a new method to
Laminas\Http\PhpEnvironment\Response,setHeadersSentHandler(callable $handler): void. When a handler is injected,sendHeaders()will call it with the current response instance if it detects headers have already been sent (e.g., by the SAPI due to emitting content). Prior to this change, the class would silently ignore the fact, and simply not emit headers from the response instance. Now it is possible to log those headers, or raise an exception.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
Release 2.13.0
2.13.0
- Total issues resolved: 1
- Total pull requests resolved: 1
- Total contributors: 2
Bug,Enhancement
- 41: Fixes #5 : Handle Response::sendHeaders() to not silently returns when header already sent thanks to @samsonasik