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

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -