úÎCÛA/      Safe-Inferred Equivalent to , but leaves out the byte the  string is broken on. 7Trims space characters from both ends of a ByteString. .List of the valid characters for a media-type  `reg-name` as per RFC 4288. ?Evaluates whether the given character is valid in a media type  `reg-name`  as per RFC 4288.  compatible characters.  compatible characters.  compatible characters.  compatible characters.  compatible characters.    Safe-Inferred"Attaches a quality value to data. Attaches the quality value '1'. Attaches the quality value '0'.  !"# " !"# Safe-Inferred$DDefines methods for a type whose values can be matched against each ( other in terms of a HTTP media header. EThis allows functions to work on both the standard Accept header and C others such as Accept-Language that still may use quality values. AEvaluates whether either the left argument matches the right one  (order may be important). %EEvaluates whether the left argument is more specific than the right. &?Evaluates to whichever argument is more specific. Left biased. $%&'$%&$%&' Safe-Inferred parameters. EAn HTTP media type, consisting of the type, subtype, and parameters. (The main type of the MediaType )The sub type of the MediaType * The parameters of the MediaType "Parses a media type header into a .  Converts  to . +()*,-.+()*+()*,-. Safe-Inferred Retrieves the main type of a . Retrieves the sub type of a . Retrieves the parameters of a .  Builds a - without parameters. Can produce an error if  either type is invalid. Adds a parameter to a !. Can produce an error if either  string is invalid. Evaluates if a $ has a parameter of the given name. Retrieves a parameter from a . /Ensures that the  matches the ABNF for  `reg-name` in RFC  4288. 0Ensures that the ) does not contain invalid characters for L a parameter value. RFC 4288 does not specify what characters are valid, so : here we just disallow parameter and media type breakers, ',' and ';'. 1GEnsures the predicate matches for every character in the given string.  /01     /01 Safe-Inferred GParses a full Accept header into a list of quality-valued media types. HMatches a list of server-side resource options against a quality-marked . list of client-side preferences. A result of 2 means that nothing K matched (which should indicate a 406 error). If two or more results arise H with the same quality level and specificity, then the first one in the  server list is chosen. The use of the $- type class allows the application of either  # for the standard Accept header or  for any other F Accept header which can be marked with a quality value. The standard " application of this function for  should be in conjunction with   parseAccepts.  : parseAccepts header >>= matchQuality resourceTypeOptions GFor more information on the matching process see RFC 2616, section 14. The equivalent of ' above, except the resulting choice is I mapped to another value. Convenient for specifying how to translate the . resource into each of its available formats. J maybe render406Error renderResource $ parseAccepts header >>= mapQuality $ [ ("text/html", asHtml) $ , ("application/json", asJson)  ] HMatches a list of server-side parsing options against a the client-side  content value. A result of 2# means that nothing matched (which  should indicate a 415 error). *As with the Accept parsing, he use of the $ type class allows the  application of either  or . The equivalent of ' above, except the resulting choice is  mapped to another value. 3The equivalent of 'lookupBy matches'.  The server-side options The client-side preferences -The map of server-side preferences to values The client-side preferences  The client's request value !The server-side response options The client request's header value !The map of server-side responses 3     34      !"#$%&' ()*+,-./0 123456789:;http-media-0.1.0Network.HTTP.MediaNetwork.HTTP.Media.MediaTypeNetwork.HTTP.Media.UtilsData.ByteString breakByteNetwork.HTTP.Media.QualityNetwork.HTTP.Media.Match%Network.HTTP.Media.MediaType.InternalQualitymatches Parameters MediaTypeparse toByteStringmainTypesubType parameters///:/?/. parseAccept matchAccept mapAccept matchContent mapContenttrimBS validChars isValidCharslashbytestring-0.10.0.2Data.ByteString.Internal ByteStringsemicommaspaceequal maxQuality minQuality qualityData qualityValueshowQreadQ $fShowQualityMatchmoreSpecificThan mostSpecific$fMatchByteString$fMatchMediaType$fIsStringMediaType$fShowMediaTypeensureRensureVensurebase Data.MaybeNothing lookupMatches