1.1 --- a/WebStack/CGI.py Sat Mar 21 00:34:24 2009 +0100
1.2 +++ b/WebStack/CGI.py Tue Jul 07 01:12:55 2009 +0200
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 CGI classes.
1.6
1.7 -Copyright (C) 2004, 2005, 2006, 2007 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2004, 2005, 2006, 2007, 2009 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 @@ -438,17 +438,11 @@
1.13
1.14 self.headers_out[header] = value
1.15
1.16 - def set_content_type(self, content_type):
1.17 -
1.18 - """
1.19 - Sets the 'content_type' for the response.
1.20 - """
1.21 + # set_content_type(self, content_type) not reimplemented
1.22
1.23 - # The content type has to be written as a header, before actual content,
1.24 - # but after the response line. This means that some kind of buffering is
1.25 - # required. Hence, we don't write the header out immediately.
1.26 -
1.27 - self.content_type = content_type
1.28 + # The content type has to be written as a header, before actual content,
1.29 + # but after the response line. This means that some kind of buffering is
1.30 + # required. Hence, we don't write the header out immediately.
1.31
1.32 # Higher level response-related methods.
1.33