Given ticket is about HttpRequest headers, I was writing about HttpResponse. Am 
I missing something?

> On 8 Nov 2016, at 19:56, Tim Graham <timogra...@gmail.com> wrote:
> 
> Here's an accepted ticket for the idea: 
> https://code.djangoproject.com/ticket/20147
> 
> It looks like there's rough consensus but a complete patch hasn't been 
> provided.
> 
> On Tuesday, November 8, 2016 at 11:04:53 AM UTC-5, roboslone wrote:
> Hi! 
> 
> Is there a reason why HttpResponse doesn't have public 'headers' property? 
> I want to log all response headers in tests and don't want to access private 
> '_headers' property. 
> 
> Implementation is very simple and will prevent user from changing actual 
> headers (if that was intended in the first place): 
> 
> @property 
> def headers(self): 
>    return self._headers
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-developers+unsubscr...@googlegroups.com 
> <mailto:django-developers+unsubscr...@googlegroups.com>.
> To post to this group, send email to django-developers@googlegroups.com 
> <mailto:django-developers@googlegroups.com>.
> Visit this group at https://groups.google.com/group/django-developers 
> <https://groups.google.com/group/django-developers>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-developers/a4a67883-8726-46df-b863-f71d5b536e9b%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/django-developers/a4a67883-8726-46df-b863-f71d5b536e9b%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/9DA56F87-2F88-4C0E-9BF5-B287E690A61C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to