MediaWiki REL1_39
Wikimedia\Http Namespace Reference

Utility for parsing a HTTP Accept header value into a weight map. More...

Classes

class  HttpAcceptNegotiator
 Utility for negotiating a value from a set of supported values using a preference list. More...
 
class  HttpAcceptParser
 

Detailed Description

Utility for parsing a HTTP Accept header value into a weight map.

May also be used with other, similar headers like Accept-Language, Accept-Encoding, etc.

Note
GPL-2.0-or-later
Author
Daniel Kinzler