d75dbf2a7b30a343854f94b081befe37f7b5931b
[mdref/mdref-http] / http / Env.md
1 # class http\Env extends http\Object
2
3 The http\Env class provides static methods to manipulate and inspect the server's current request's HTTP environment.
4
5 ## Request startup
6
7 The http\Env module overrides PHP's builtin POST data parser to be run also if
8 the request method is not POST. Additionally it will handle
9 ```application/json``` payloads if ```ext/json``` is available. Successfully
10 parsed JSON will be put right into the $_POST array.
11