浏览器中的Azure文件存储URL显示InvalidHeaderValue [英] Azure File Storage URL in browser showing InvalidHeaderValue

查看:117
本文介绍了浏览器中的Azure文件存储URL显示InvalidHeaderValue的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图访问Azure中给定的Azure文件存储格式文件的URL,但是我在下面遇到此错误.有可能得到这个吗?他们为什么会在无用的情况下提供公共URL?另外如何直接从IIS访问此地址?

I am trying to access the URL given in Azure for a file on the Azure File Storage format, however I am getting this error below. Is it possible to get this? Why would they offer a public URL when it's useless? Also how can I access this directly from IIS?

<Error>
<Code>InvalidHeaderValue</Code>
<Message>
The value for one of the HTTP headers is not in the correct format. RequestId:5d681103-0a1a-00cc-5555-5s4849000000 Time:2016-02-04T14:06:50.1786949Z
</Message>
<HeaderName>x-ms-version</HeaderName>
<HeaderValue/>
</Error>

推荐答案

Gaurav已经提到了类似的问题

Gaurav already mentioned a similar question here where it says you should use a "Shared Access Signature". In your storage account settings in Azure you'll find a topic "Shared Acess Signature". After clicking "Generate SAS" you'll get a "SAS Token" which you need to append to your URL.

这篇关于浏览器中的Azure文件存储URL显示InvalidHeaderValue的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆