[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/publication/httpfactory.py fix sniffing for SOAP header

Brian Lloyd brian at zope.com
Tue Jan 11 17:17:51 EST 2005


Log message for revision 28793:
  fix sniffing for SOAP header

Changed:
  U   Zope3/trunk/src/zope/app/publication/httpfactory.py

-=-
Modified: Zope3/trunk/src/zope/app/publication/httpfactory.py
===================================================================
--- Zope3/trunk/src/zope/app/publication/httpfactory.py	2005-01-11 22:17:13 UTC (rev 28792)
+++ Zope3/trunk/src/zope/app/publication/httpfactory.py	2005-01-11 22:17:51 UTC (rev 28793)
@@ -54,7 +54,8 @@
             content_type = env.get('CONTENT_TYPE', '')
             is_xml = content_type.startswith('text/xml')
 
-            if (method == 'POST' and is_xml and env.get('SOAPAction', None)
+            if (method == 'POST' and is_xml and
+                env.get('HTTP_SOAPACTION', None)
                 and self._soapreq is not None):
                 request = self._soapreq(input_stream, output_steam, env)
                 request.setPublication(self._soappub)



More information about the Zope3-Checkins mailing list