[Zope-Checkins] CVS: Zope/ZServer/medusa - http_server.py:1.30
   
    Andreas Jung
     
    andreas@zope.com
       
    Thu, 20 Sep 2001 09:29:29 -0400
    
    
  
Update of /cvs-repository/Zope/ZServer/medusa
In directory cvs.zope.org:/tmp/cvs-serv31527/ZServer/medusa
Modified Files:
	http_server.py 
Log Message:
Re-applied Medusa patch to allow proxy-like HTTP requests
(GET http://hostname:port/ HTTP/1.0)
=== Zope/ZServer/medusa/http_server.py 1.29 => 1.30 ===
     return ''
     
-REQUEST = re.compile ('([^ ]+) ([^ ]+)(( HTTP/([0-9.]+))$|$)')
+REQUEST = re.compile ('([^ ]+) (?:[^ :?#]+://[^ ?#/]*)?([^ ]+)(( HTTP/([0-9.]+))$|$)')
 
 def crack_request (r):
     m = REQUEST.match (r)