its COOKIES, not HTTP_COOKIE, as at
https://docs.djangoproject.com/en/2.0/ref/request-response/#django.http.HttpRequest.COOKIES
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it,
Thank you Melvyn for your time and response. Regardless of what I call the
first parameter, shouldn't HTTP_COOKIE be in it? But yes, I am having some
confusion about wsgi and django and maybe I am mixing tutorials/information
I have found at different sources.
I have had to reach out to other
Thank you Melvyn for your time and response. Regardless of what I call the
first parameter, shouldn't HTTP_COOKIE be in it?
I have had to reach out to other sources, perhaps the information I
provided at the following link can help us figure out what I'm doing
completely wrong:
On donderdag 19 juli 2018 10:34:35 CEST need_some_help wrote:
> I first need to make sure I am accessing them correctly. This is as simple
> as it gets I imagine:
>
> view.py:
>
> def index(environ, start_response, request):
> if not 'HTTP_COOKIE' in environ:
> response =
Sorry for the delayed response. Yes, I understand that a cookie must be
set/sent to the browser after the first request, and that generally you
must send the cookie headers alone as I've had trouble on other platforms
trying to send them along with other things. That being said, I need to
On dinsdag 10 juli 2018 14:40:41 CEST need_some_help wrote:
> I've followed numerous examples, but the only one that does not return
> errors are the implementations of the two functions below. There doesn't
> seem to be an HTTP_COOKIE key in the environ. The request value only gets
> set with
I've followed numerous examples, but the only one that does not return
errors are the implementations of the two functions below. There doesn't
seem to be an HTTP_COOKIE key in the environ. The request value only gets
set with POST and GET. Think something is wrong with my setup, because none
7 matches
Mail list logo