Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Releases: jasny/http-message

v1.3.5 - Rewind body before emit

17 May 01:28
9a6c6cc
Compare
Choose a tag to compare
Fix composer deprecation warning about uppercase characters in mikey1…

v1.3.3 - Force stale

27 Jan 14:29
649f04d
Compare
Choose a tag to compare
  • Fix: never set $_POST to null
  • Calling headersRemove() without an argument should call headers_remove() without an argument, not with null
  • 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

26 Jan 10:16
f4ba75d
Compare
Choose a tag to compare
Fix composer deprecation warning about uppercase characters in mikey1…

v1.3.1 - No errors on determine headers

25 Jan 14:28
3644778
Compare
Choose a tag to compare

Ignore non-string values in $_SERVER when determining the headers.

v1.3.0 - Added GlobalEnvironmentInterface

25 Jan 00:54
d9a613d
Compare
Choose a tag to compare
Fix composer deprecation warning about uppercase characters in mikey1…

v1.2.3 - Fix setting `tmp_name` for files when in legacy mode

20 Jan 01:55
da797f5
Compare
Choose a tag to compare
Fix composer deprecation warning about uppercase characters in mikey1…

v1.2.2 - Fixed Response::revive()

20 Jan 00:49
2733fba
Compare
Choose a tag to compare
Fix composer deprecation warning about uppercase characters in mikey1…

v1.2.1 - Relax parsing body

20 Jan 00:08
c316bb4
Compare
Choose a tag to compare

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

13 Jan 05:24
6456989
Compare
Choose a tag to compare

When a ServerRequest or Response that is bound to the global environment is cloned, it automatically becomes stale.

v1.1.0 - Clonable stream

29 Dec 10:39
6b32f90
Compare
Choose a tag to compare

Clear the body using

$newResponse = $response->withBody(clone $response->getBody());