1.1 --- a/examples/Common/Calendar/__init__.py Wed Sep 01 22:52:03 2004 +0000
1.2 +++ b/examples/Common/Calendar/__init__.py Wed Sep 01 22:52:28 2004 +0000
1.3 @@ -37,7 +37,7 @@
1.4 if method == "PUT":
1.5 input = trans.get_request_stream()
1.6 print "Name:", calendar_name
1.7 - print "Content type:", content_type.content_type
1.8 + print "Content type:", content_type.media_type
1.9 print "--------"
1.10 print input.read()
1.11 print "--------"
2.1 --- a/examples/Common/Form/__init__.py Wed Sep 01 22:52:03 2004 +0000
2.2 +++ b/examples/Common/Form/__init__.py Wed Sep 01 22:52:28 2004 +0000
2.3 @@ -20,7 +20,7 @@
2.4
2.5 content_type = trans.get_content_type()
2.6 if content_type:
2.7 - content_type_str = content_type.content_type
2.8 + content_type_str = content_type.media_type
2.9 content_type_charset = content_type.charset
2.10 else:
2.11 content_type_str = None
3.1 --- a/examples/Common/Simple/__init__.py Wed Sep 01 22:52:03 2004 +0000
3.2 +++ b/examples/Common/Simple/__init__.py Wed Sep 01 22:52:28 2004 +0000
3.3 @@ -15,7 +15,7 @@
3.4
3.5 out = trans.get_response_stream()
3.6 if trans.get_content_type():
3.7 - content_type = trans.get_content_type().content_type
3.8 + content_type = trans.get_content_type().media_type
3.9 charset = trans.get_content_type().charset
3.10 else:
3.11 content_type, charset = None, None