File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 66- mailgw handling of subject-line errors
77- allow serving of non-"file"-Class file content (eg. paper_file)
88- allow negative (new) ids in getItem
9+ - fixed content-type when templates are serving up xml (thanks Godefroid
10+ Chapelle)
911
1012
11132003-12-17 0.6.4
Original file line number Diff line number Diff line change 1- # $Id: client.py,v 1.130.2.4 2004-01-07 22:44:44 richard Exp $
1+ # $Id: client.py,v 1.130.2.5 2004-01-15 00:05:52 richard Exp $
22
33__doc__ = """
44WWW request handler (also used in the stand-alone server).
@@ -518,7 +518,9 @@ def renderContext(self):
518518 }
519519 try :
520520 # let the template render figure stuff out
521- return pt .render (self , None , None , ** args )
521+ result = pt .render (self , None , None , ** args )
522+ self .additional_headers ['Content-Type' ] = pt .content_type
523+ return result
522524 except NoTemplate , message :
523525 return '<strong>%s</strong>' % message
524526 except :
You can’t perform that action at this time.
0 commit comments