1.1 --- a/WebStack/Generic.py Sun Apr 24 22:57:36 2005 +0000
1.2 +++ b/WebStack/Generic.py Mon Apr 25 22:03:10 2005 +0000
1.3 @@ -138,6 +138,12 @@
1.4 return header_class(principal_value, **attributes)
1.5
1.6 def parse_content_type(self, content_type_field):
1.7 +
1.8 + """
1.9 + Parse the given 'content_type_field' - a value found comparable to that
1.10 + found in an HTTP request header for "Content-Type".
1.11 + """
1.12 +
1.13 return self.parse_header_value(ContentType, content_type_field)
1.14
1.15 def format_header_value(self, value):