django - Python is there a way to read custom headers and send a response back -


ok new python whole. said don't know i'm looking ask question properly. know has possible though. want ask before digging in , finding out did wrong , have over.

all in want know is, front end of stack want pass down custom http headers (which can ajax calls, currently). question how read said headers? how can pass server custom headers via python.

you can access custom header in django view:

request.meta.get("custom_header") 

Comments

Popular posts from this blog

ios - Pass NSDictionary from Javascript to Objective-c in JavascriptCore -

python - PyInstaller UAC not working in onefile mode -

wso2is - WSO2 IS 5.0.0 SP1 After restart there is authentication error -