Azure storage - disable use of authorization header

℡╲_俬逩灬. 提交于 2021-02-08 16:58:19

问题


Is it possible to configure Azure storage to ignore the contents of the authorization HTTP header? It seems that Azure always tries to make use of the header value even when configured for anonymous access and receiving pure GET requests. Leaving the field blank is not an option in my scenario.

  1. Configure Azure for anonymous access.
  2. Use a plugin like Postman to create a GET request.
  3. Set the "Authorization" header to a value like "this is a non-azure related authorization header which for technical reasons is part of the request".
  4. Azure responds with HTTP status code 400.

Request WITHOUT authorization header: Request WITHOUT authorization header

Request WITH authorization header: Request WITH authorization header

来源:https://stackoverflow.com/questions/23340755/azure-storage-disable-use-of-authorization-header

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!