id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 5414 urlopen from within Django with url to same server fails bjorn.ruud@… nobody "As the title says, urllib{2}.urlopen(URL) hangs if it is run from within a Django app and URL is a view on the same Django server. Other URLs works as intended. This has only been tested on Windows XP Pro with the built-in web server, using python 2.5 and Django SVN. Example: The following URL has a corresponding pay() function, which uses a class that loads a dynamically built XML: !http://localhost:8000/billing/pay/ The XML is built by a different view: !http://localhost:8000/billing/XML2/ Within pay() the XML URL is opened using urllib2.urlopen(URL), where execution hangs." closed django-admin.py runserver dev invalid Unreviewed 0 0 0 0 0 0