#31388: [HttpResponseBase.setdefault]  BUG???
-------------------------------+--------------------------------------
     Reporter:  liuwei         |                    Owner:  nobody
         Type:  Bug            |                   Status:  new
    Component:  Uncategorized  |                  Version:  2.2
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by Marcin Wieczorek):

 I fail to reproduce. There might be something wrong with that encryption,
 but I highly doubt.
 Curl returns `< x-frame-options: ('X-Frame-Options', 'SAMEORIGIN')`.
 Try to reduce the amount of your code that might cause the issue and post
 a full code.

 Also, I think you're looking at wrong data. `print(resp._headers)` returns
 `{'x-frame-options': ('x-frame-options', "('X-Frame-Options',
 'SAMEORIGIN')")}`, but curl gets what you want it to get.
 Paste the output of `curl -v 127.0.0.1:8000/api/`

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31388#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/073.30580afd8a0baaab9320efaecd6f7241%40djangoproject.com.

Reply via email to