2.2.0
[mdref/mdref-http] / http / Env / negotiateContentType.md
index 510e33f176630342ddc20bc6a78af521c15d1b53..d5ee50094e8010b73bf39ae0d7cb4dca2176534d 100644 (file)
@@ -2,24 +2,24 @@
 
 Negotiate the client's preferred MIME content type.
 
-> ***NOTE:*** The first elemement of $supported content types serves as a default if no content-type matches.
+> **Note:** The first elemement of $supported content types serves as a default if no content-type matches.
 
 ## Params:
 
-* ```array $supported```  
+* array $supported  
   List of supported MIME content types.
-* Optional reference ```array &$result```  
+* Optional reference array &$result  
   Out parameter recording negotiation results.
   
 ## Returns:
 
-* ```NULL```, if negotiation fails.
-* ```string```, the negotiated content type.
+* NULL, if negotiation fails.
+* string, the negotiated content type.
 
 ## Example:
 
-A client indicates his accepted MIME content types by sending an ```Accept```
-header. The static ```http\Env``` class provides a facility to negotiate the
+A client indicates his accepted MIME content types by sending an Accept
+header. The static http\Env class provides a facility to negotiate the
 client's preferred content type:
 
     <?php