问题
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.
- Configure Azure for anonymous access.
- Use a plugin like Postman to create a GET request.
- 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".
- Azure responds with HTTP status code 400.
Request WITHOUT authorization header:
Request WITH authorization header:
来源:https://stackoverflow.com/questions/23340755/azure-storage-disable-use-of-authorization-header