2.4.0 notes
[mdref/mdref-http] / http / Env.md
1 # class http\Env
2
3 The http\Env class provides static methods to manipulate and inspect the server's current request's HTTP environment.
4
5 ## Changelog:
6
7 | Version | Change
8 |---------|--------
9 | 2.4.0 | Split off pecl/[apfd](apfd) and pecl/[json_post](json_post)
10
11 ## Request startup
12
13 In versions lower than 2.4.0, the http\Env module extends PHP's builtin POST data parser to be run also if the request method is not POST. Additionally it will handle application/json payloads if ext/json is available. Successfully parsed JSON will be put right into the $_POST array.
14
15 This functionality has been separated into two distict extensions, pecl/[apfd](apfd) and pecl/[json_post](json_post).
16