X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http%2FEnv.md;h=5571b9df34a286dffd63652feebf69ec42dfd8e4;hb=c2e4d7edf424ea7684c31fc15310ab563a27725f;hp=d75dbf2a7b30a343854f94b081befe37f7b5931b;hpb=7823a35136269030a351b68b8ae8ee5026696aea;p=mdref%2Fmdref-http diff --git a/http/Env.md b/http/Env.md index d75dbf2..5571b9d 100644 --- a/http/Env.md +++ b/http/Env.md @@ -1,11 +1,11 @@ -# class http\Env extends http\Object +# class http\Env The http\Env class provides static methods to manipulate and inspect the server's current request's HTTP environment. ## Request startup -The http\Env module overrides PHP's builtin POST data parser to be run also if +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 +application/json payloads if ext/json is available. Successfully parsed JSON will be put right into the $_POST array.