1.1 --- a/WebStack/ModPython.py Sun Jan 14 16:39:48 2007 +0000
1.2 +++ b/WebStack/ModPython.py Sun Jan 14 16:40:03 2007 +0000
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 mod_python classes.
1.6
1.7 -Copyright (C) 2004, 2005, 2006 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2004, 2005, 2006, 2007 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This library is free software; you can redistribute it and/or
1.11 modify it under the terms of the GNU Lesser General Public
1.12 @@ -152,7 +152,7 @@
1.13 charset employed.
1.14 """
1.15
1.16 - return self.parse_content_type(self.trans.content_type)
1.17 + return self.parse_content_type(self.trans.headers_in.get("Content-Type"))
1.18
1.19 def get_content_charsets(self):
1.20
2.1 --- a/WebStack/__init__.py Sun Jan 14 16:39:48 2007 +0000
2.2 +++ b/WebStack/__init__.py Sun Jan 14 16:40:03 2007 +0000
2.3 @@ -3,7 +3,7 @@
2.4 """
2.5 A common API for Python Web applications.
2.6
2.7 -Copyright (C) 2004, 2005, 2006 Paul Boddie <paul@boddie.org.uk>
2.8 +Copyright (C) 2004, 2005, 2006, 2007 Paul Boddie <paul@boddie.org.uk>
2.9
2.10 This library is free software; you can redistribute it and/or
2.11 modify it under the terms of the GNU Lesser General Public
2.12 @@ -20,6 +20,6 @@
2.13 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
2.14 """
2.15
2.16 -__version__ = "1.2"
2.17 +__version__ = "1.2.1"
2.18
2.19 # vim: tabstop=4 expandtab shiftwidth=4