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
Post a Comment