X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http%2FEnv%2FnegotiateEncoding.md;h=7053373f2005c1d2b88927ce15a2eb3e0cd6d063;hb=280e2cd3c237e14c6b8659cd4e7c604dbe5e9ec6;hp=4c070b709ab527a3c0b4597da4f1542c8df98f02;hpb=7823a35136269030a351b68b8ae8ee5026696aea;p=mdref%2Fmdref-http diff --git a/http/Env/negotiateEncoding.md b/http/Env/negotiateEncoding.md index 4c070b7..7053373 100644 --- a/http/Env/negotiateEncoding.md +++ b/http/Env/negotiateEncoding.md @@ -2,16 +2,16 @@ Negotiate the client's preferred encoding. -> ***NOTE:*** The first elemement of $supported encodings serves as a default if no encoding matches. +> **Note:** The first elemement of $supported encodings serves as a default if no encoding matches. ## Params: -* ```array $supported``` +* array $supported List of supported content encodings. -* Optional reference ```array &$result``` +* Optional reference array &$result Out parameter recording negotiation results. ## Returns: -* ```NULL```, if negotiation fails. -* ```string```, the negotiated encoding. +* NULL, if negotiation fails. +* string, the negotiated encoding.