HTTP headers in Django -


i need perform logic based on cucsom headers. i'm using chrome's postman add headers.

but seems can add them when header name doesn't have '_' there reason ?

ideally add header somthing 'my_header' , access via request.meta['my_header'], right i'm adding 'myheader' , accessing via request.meta['myheader']

thank vanadium23, turns out nginx making changes. full answer here why underscores forbidden in http header names


Comments