flush
[mdref/mdref-http] / http / Header / negotiate.md
index af0547ffd211055823cbe848cb67456aa889a844..32daaa0d6e611599ba3c77618ebb582171241e1e 100644 (file)
@@ -2,20 +2,20 @@
 
 Negotiate the header's value against a list of supported values in $supported. 
 Negotiation operation is adopted according to the header name, i.e. if the 
-header being negotiated is ```Accept```, then a slash is used as primary type 
-separator, and if the header is ```Accept-Language``` respectively, a hyphen is 
+header being negotiated is Accept, then a slash is used as primary type 
+separator, and if the header is Accept-Language respectively, a hyphen is 
 used instead.
 
 > ***NOTE:*** The first elemement of $supported serves as a default if no operand matches.
 
 ## Params:
 
-* ```array $supported```  
+* array $supported  
   The list of supported values to negotiate.
-* Optional reference ```array &$result```
+* Optional reference array &$result
   Out parameter recording the negotiation results.
   
 ## Returns:
 
-* ```NULL```, if negotiation fails.
-* ```string```, the closest match negotiated, or the default (first entry of $supported).
+* NULL, if negotiation fails.
+* string, the closest match negotiated, or the default (first entry of $supported).