When I have problems with csrf and POST, I usually put a
print(request.POST) into a view function, to see what the framework recives
from client
help you?
Missatge de suresh del dia dj., 25 d’abr. 2019 a les
8:20:
> The HTTP_X_CSRFTOKEN header does not match what is inside the csrftoken
> cook
The HTTP_X_CSRFTOKEN header does not match what is inside the csrftoken
cookie.
How can I examine the cookie? Set-Cookie is not displayed in the
Response header for Cross Domain requests.
I have already followed instructions found in:
https://stackoverflow.com/questions/39254562/csrf-with-dj
On 2010-10-22, at 11:53 , Viet Nguyen wrote:
> Hi there, I am quite new to Django and encounters a problem which
> takes me a lot of time to figure out. As I known, Django provides some
> functionality to prevent cross domain AJAX requests.
Last time I checked, Django didn't integrate any ajaxy fac
Hi there, I am quite new to Django and encounters a problem which
takes me a lot of time to figure out. As I known, Django provides some
functionality to prevent cross domain AJAX requests. However, using
jQuery you can specify a callback (JSONP) and could talk and get data
back from the server. Fo
4 matches
Mail list logo