Re: 403 error when POSTing to a view with csrf protection
Hi Mike,
> POST:<QueryDict: {u'{"user":"test_user","password":"test_password"}':
> [u'']}>,
> COOKIES:{'csrftoken': 'qsl91ZDqVL5wirXlUwIYmu8ytTVES3nt'},
> 'CSRF_COOKIE': 'qsl91ZDqVL5wirXlUwIYmu8ytTVES3nt',
> 'CSRF_COOKIE_USED': True,
> 'HTTP_COOKIE': 'csrftoken=qsl91ZDqVL5wirXlUwIYmu8ytTVES3nt',
> 'HTTP_HOST': '127.0.0.1:8000',
Since this all looks sane, what's the different with a 'real browser'
(no disrespect to your desktop app :) )? I'm not seeing anything wrong
here, so it must be something subtle. Or is a 'real browser' rejected as
well?
--
Melvyn Sopacua
--
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 http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home