[Zope-Checkins] SVN: Zope/branches/Zope211-3.4-integration/lib/python/ZPublisher/HTTPRequest.py re-added support for 'method'

Andreas Jung andreas at andreas-jung.com
Sun Jun 3 10:34:51 EDT 2007


Log message for revision 76224:
  re-added support for 'method'
  

Changed:
  U   Zope/branches/Zope211-3.4-integration/lib/python/ZPublisher/HTTPRequest.py

-=-
Modified: Zope/branches/Zope211-3.4-integration/lib/python/ZPublisher/HTTPRequest.py
===================================================================
--- Zope/branches/Zope211-3.4-integration/lib/python/ZPublisher/HTTPRequest.py	2007-06-03 14:05:57 UTC (rev 76223)
+++ Zope/branches/Zope211-3.4-integration/lib/python/ZPublisher/HTTPRequest.py	2007-06-03 14:34:50 UTC (rev 76224)
@@ -339,6 +339,7 @@
         if script: script="%s/%s" % (server_url,script)
         else:      script=server_url
         other['URL']=self.script=script
+        other['method'] = environ.get('REQUEST_METHOD', 'GET').upper()
 
         ################################################################
         # Cookie values should *not* be appended to existing form



More information about the Zope-Checkins mailing list