mod_wsgiã§éç¨ãã¦ããWSGIã¢ããªã±ã¼ã·ã§ã³å ããAuthorizationãããã¼(HTTP_AUTHORIZATION)ãåç §ããå ´åã«ã¯ãmod_wsgiã®WSGIPassAuthorizationãããã¼ãOnã«ãã¦ãããªãã¦ã¯ãªããªããããã©ã«ãã¯Offãªã®ã§ãä¾ãã°ãDjangoã¢ããªã±ã¼ã·ã§ã³ããã def view(req): auth_header = req.META.get("HTTP_AUTHORIZATION") # do something ã®ããã«ããã¨ã常ã«Noneãè¿ã£ã¦ããããã®ãããªè¨è¨ã«ãªã£ã¦ããçç±ã¯ãWSGIPassAuthorizationã®é ã«æ¸ãã¦ãããWSGIPassAuthorizationãã£ã¬ã¯ãã£ãã¯HTTPèªè¨¼ãããã¼ãHTTPãªã¯ã¨ã¹ãã«åå¨ããã¨ãã«ããã®å¤ãHTTP_AUTHORIZATIONå¤æ°ã¨ãã¦WSGIã¢
{{#tags}}- {{label}}
{{/tags}}