Changeset 13
- Timestamp:
- 02/14/07 14:08:55 (2 years ago)
- Files:
-
- trunk/tgwebservices/soap.py (modified) (2 diffs)
- trunk/tgwebservices/tests/test_soap.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/tgwebservices/soap.py
r12 r13 171 171 172 172 @tgexpose("genshi:tgwebservices.templates.soap", 173 content_type="text/xml ", format="xml")173 content_type="text/xml;charset=utf-8", format="xml") 174 174 def index(self): 175 175 """Processes SOAP requests and generates the responses.""" … … 223 223 224 224 @tgexpose("genshi:tgwebservices.templates.wsdl", format="xml", 225 content_type="text/xml ")225 content_type="text/xml;charset=utf-8") 226 226 def api_wsdl(self, xmlsoap=False): 227 227 """Produces the WSDL for this SOAP service.""" trunk/tgwebservices/tests/test_soap.py
r12 r13 63 63 output = cherrypy.response.body[0] 64 64 print output 65 assert cherrypy.response.headers["Content-Type"] == "text/xml "65 assert cherrypy.response.headers["Content-Type"] == "text/xml;charset=utf-8" 66 66 root = et.fromstring(output) 67 67 schema_elements = root.findall(".//{http://www.w3.org/2001/XMLSchema}element")
