Michal wrote:
> Ha!
> I found something -- login form at page
"/private/" is ugly, <input>
> items haven't set attributes like "name",
"type", etc...
And because of this a browser didn't send any content with
the form and
didn't set an HTTP header responsible for this --
Content-Length. Flup
> But I am still interested, why I get Flup error page
instead of Django
> debug screen (I have set variable DEBUG=True).
It's not flup, the error occurred in Django handler, look at
the last
part of your traceback:
"/usr/local/lib/python2.4/site-packages/django/core/han
dlers/wsgi.py",
line 160, in _get_raw_post_data content_length =
int(self.environ['CONTENT_LENGTH']) KeyError:
'CONTENT_LENGTH'
The error wasn't in pretty format because this is a very
early part of
Django code that constructs a request object and all this
happens before
the handling part that is wrapped into try..except that
prettifies errors.
--~--~---------~--~----~------------~-------~--~----~
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-unsubscribe googlegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|