On Sun, May 24, 2009 at 11:33 AM, notcourage <klr...@gmail.com> wrote:
> > I'm accustomed to seeing the browser present an error message instead > of a blank page. > > curl shows a 301: > > curl -v http://localhost:8000/resources/users999/forbbidenView > * About to connect() to localhost port 8000 (#0) > * Trying 127.0.0.1... connected > * Connected to localhost (127.0.0.1) port 8000 (#0) > > GET /resources/users999/forbbidenView HTTP/1.1 > > User-Agent: curl/7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g > zlib/1.2.3.3 libidn/1.8 > > Host: localhost:8000 > > Accept: */* > > > * HTTP 1.0, assume close after body > < HTTP/1.0 301 MOVED PERMANENTLY > < Date: Sun, 24 May 2009 15:31:51 GMT > < Server: WSGIServer/0.1 Python/2.5.2 > < Content-Type: text/html; charset=utf-8 > < Location: http://localhost:8000/resources/users999/forbbidenView/ > < > * Closing connection #0 > > Well that url didn't get to your forbidden view because it was missing the trailing slash, so what you got was a redirect to the right url. What happens if you use the correct url? Karen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---