# HG changeset patch # User paulb # Date 1094079148 0 # Node ID 229a5f6310e123bf8c79a88aa39a3e5f0f28598a # Parent 115c88d1128b4493b9f84ad25c615738a3d310cf [project @ 2004-09-01 22:52:13 by paulb] Changed content_type to media_type. diff -r 115c88d1128b -r 229a5f6310e1 examples/Common/Calendar/__init__.py --- a/examples/Common/Calendar/__init__.py Wed Sep 01 22:52:03 2004 +0000 +++ b/examples/Common/Calendar/__init__.py Wed Sep 01 22:52:28 2004 +0000 @@ -37,7 +37,7 @@ if method == "PUT": input = trans.get_request_stream() print "Name:", calendar_name - print "Content type:", content_type.content_type + print "Content type:", content_type.media_type print "--------" print input.read() print "--------" diff -r 115c88d1128b -r 229a5f6310e1 examples/Common/Form/__init__.py --- a/examples/Common/Form/__init__.py Wed Sep 01 22:52:03 2004 +0000 +++ b/examples/Common/Form/__init__.py Wed Sep 01 22:52:28 2004 +0000 @@ -20,7 +20,7 @@ content_type = trans.get_content_type() if content_type: - content_type_str = content_type.content_type + content_type_str = content_type.media_type content_type_charset = content_type.charset else: content_type_str = None diff -r 115c88d1128b -r 229a5f6310e1 examples/Common/Simple/__init__.py --- a/examples/Common/Simple/__init__.py Wed Sep 01 22:52:03 2004 +0000 +++ b/examples/Common/Simple/__init__.py Wed Sep 01 22:52:28 2004 +0000 @@ -15,7 +15,7 @@ out = trans.get_response_stream() if trans.get_content_type(): - content_type = trans.get_content_type().content_type + content_type = trans.get_content_type().media_type charset = trans.get_content_type().charset else: content_type, charset = None, None