Add this to core/servers/basehttp.py

import SocketServer, BaseHTTPServer
class HTTPServer(SocketServer.ThreadingMixIn,
BaseHTTPServer.HTTPServer):
    pass

right before the WSGI server definintion (line 500 or so)
....
class WSGIServer(HTTPServer):
    """BaseHTTPServer that implements the Python WSGI protocol"""
    .....

Note that making requests to the same url may still block in Firefox,
it seems it wants to reuse the same connection to the same site (it was
quite a bit of a head scratcher until I dug up a  post about this)

But if you make the requests with IE or from different hosts you'll see
that the server does not block anymore.

cheers,

Istvan.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to