# HG changeset patch # User paulb # Date 1114466590 0 # Node ID 43f697c83a5ee7a6fc48acc79982ae921e2f63ec # Parent de8f42b6c3cc562e78d04bb6ccd88ebb356ba582 [project @ 2005-04-25 22:03:10 by paulb] Added missing docstring. diff -r de8f42b6c3cc -r 43f697c83a5e WebStack/Generic.py --- a/WebStack/Generic.py Sun Apr 24 22:57:36 2005 +0000 +++ b/WebStack/Generic.py Mon Apr 25 22:03:10 2005 +0000 @@ -138,6 +138,12 @@ return header_class(principal_value, **attributes) def parse_content_type(self, content_type_field): + + """ + Parse the given 'content_type_field' - a value found comparable to that + found in an HTTP request header for "Content-Type". + """ + return self.parse_header_value(ContentType, content_type_field) def format_header_value(self, value):