Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- request.META.get('HTTP_{your uppercased header name}')
- request.META('HTTP_{your uppercased header name}')
- >>> response = HttpResponse()
- >>> response['Cache-Control'] = 'no-cache'
- >>> del response['Cache-Control']
Add Comment
Please, Sign In to add comment