Now that's interesting. Must be some mis-configuration on the server side, since I can see the URL just fine, both in my bowser and from the python console:
>>> from httplib import HTTP >>> from urlparse import urlparse >>> p = urlparse('http://www.harmat.hu/') >>> h = HTTP(p[1]) >>> h.putrequest('HEAD', p[2]) >>> h.endheaders() >>> r = h.getreply() >>> r >>> (200, 'OK', <httplib.HTTPMessage instance at 0x2133ecd8>) Interesting, thanks anyway. On máj. 11, 20:42, Malcolm Tredinnick <malc...@pointy-stick.com> wrote: > On Mon, 2009-05-11 at 11:35 -0700, Roodie wrote: > > Hello, > > > One of our testers reported a strange issue - sometimes thr URLField > > does not accept a valid, existing URL. I verified it on my local > > developer laptop also. The mentioned URL is: > > >http://www.harmat.hu/ > > > The site exists, I even checked for it manually in PyCrust using > > urllib. It sill reports a 404 error from Django according to the logs. > > Any idea? > > The page returns a 404 status code, even to a browser (I wondered > initially if it was broken and trying to do agent detection, but it's > just a very confusing error page). It also returns some HTML that is > displayed, but it's the status code that is important. The server at > that site is telling you that URL is referring to a non-existent > resource (404 ==> does not exist). > > Regards, > Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---