This repository has been archived by the owner on Jun 23, 2022. It is now read-only.
Releases: jasny/http-message
Releases · jasny/http-message
v1.3.5 - Rewind body before emit
v1.3.3 - Force stale
- Fix: never set $_POST to null
- Calling
headersRemove()
without an argument should callheaders_remove()
without an argument, not withnull
- Force object to go stale. Calling withGlobalEnvironment on a non-stale bound object should return a copy.
If make the current object stale.
v1.3.2 - withParsedBody(null) to reparse body
Fix composer deprecation warning about uppercase characters in mikey1…
v1.3.1 - No errors on determine headers
Ignore non-string values in $_SERVER
when determining the headers.
v1.3.0 - Added GlobalEnvironmentInterface
Fix composer deprecation warning about uppercase characters in mikey1…
v1.2.3 - Fix setting `tmp_name` for files when in legacy mode
Fix composer deprecation warning about uppercase characters in mikey1…
v1.2.2 - Fixed Response::revive()
Fix composer deprecation warning about uppercase characters in mikey1…
v1.2.1 - Relax parsing body
Don't throw exception if Content-Type
header isn't set.
Bug fix with Content-Type: application/json; charset=utf-8
.
v1.2.0 - Rework of dealing with the global environment
When a ServerRequest
or Response
that is bound to the global environment is cloned, it automatically becomes stale.
v1.1.0 - Clonable stream
Clear the body using
$newResponse = $response->withBody(clone $response->getBody());