Index of the acceptparse module
-
m
webob.acceptparse
...
- Parses a variety of Accept-* headers.
- a part_re ...
-
C
MIMENilAccept
...
-
C
MasterClass
...
- Represents the Accept header, which is a list of mimetypes.
- f best_match ... - Returns the best match in the sequence of matches.
- f __contains__ ... - Returns true if the given object is listed in the accepted types.
- f quality ... - Return the quality of the given match. Returns None if there is no match (not 0).
- f accept_html ... - Returns true if any HTML-like type is accepted
- f __radd__ ...
- f first_match ... - Returns the first match in the sequences of matches that is allowed. Ignores quality. Returns the first item if nothing else matches; or if you include None at the end of the match list then that will be returned.
- f __add__ ...
- f best_matches ... - Return all the matches in order of quality, with fallback (if given) at the end.
- f __init__ ...
- f best_match ...
- f __contains__ ...
- f first_match ...
- f quality ...
- f best_matches ...
-
C
MasterClass
...
- Represents the Accept header, which is a list of mimetypes.
-
C
Accept
...
- Represents a generic Accept-* style header.
- f best_match ... - Returns the best match in the sequence of matches.
- f __contains__ ... - Returns true if the given object is listed in the accepted types.
- f quality ... - Return the quality of the given match. Returns None if there is no match (not 0).
- f first_match ... - Returns the first match in the sequences of matches that is allowed. Ignores quality. Returns the first item if nothing else matches; or if you include None at the end of the match list then that will be returned.
- f __radd__ ...
- f __add__ ...
- f best_matches ... - Return all the matches in order of quality, with fallback (if given) at the end.
- f __init__ ...
-
C
NilAccept
...
- Represents an Accept header with no value.
- f best_match ...
- f __contains__ ...
- f first_match ...
- f quality ...
- f __radd__ ...
- f __add__ ...
- f best_matches ...
- f __init__ ...
-
C
NoAccept
...
- f best_match ...
- f __contains__ ...
- f first_match ...
- f quality ...
- f __radd__ ...
- f __add__ ...
- f best_matches ...
- f __init__ ...
- f parse_accept ... - Parses an Accept-* style header.