﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
16068	Ease access to request headers	Johannes Gorset	Johannes Gorset	"In the current implementation of the HttpRequest class, one must parse the environment variables passed to Django by WSGI to access the request headers. It would be more pythonic if accessing HttpRequest headers conformed to accessing HttpResponse headers.

{{{#!python
    
    # Current implementation
    user_agent = request.META['HTTP_USER_AGENT']
    cache_control = response['Cache-Control']
    
    # Proposed implementation
    user_agent = request['User-Agent']
    cache_control = response['Cache-Control']
    
}}}
"	New feature	closed	HTTP handling	1.3	Normal	duplicate	headers		Accepted	0	0	0	0	0	0
