class documentation

class _MediaType: (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method __str__ Undocumented
Method match Return true if this MediaType satisfies the given MediaType.
Instance Variable full_type Undocumented
Instance Variable main_type Undocumented
Instance Variable orig Undocumented
Instance Variable params Undocumented
Instance Variable sub_type Undocumented
Property precedence Return a precedence level from 0-3 for the media type given how specific it is.
def __init__(self, media_type_str): (source)

Undocumented

def __str__(self): (source)

Undocumented

def match(self, other): (source)

Return true if this MediaType satisfies the given MediaType.

full_type = (source)

Undocumented

main_type = (source)

Undocumented

Undocumented

Undocumented

sub_type = (source)

Undocumented

Return a precedence level from 0-3 for the media type given how specific it is.