header parser docs
[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 ## Request startup
6
7 The http\Env module extends 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