URI是否不区分大小写? [英] Are URIs case-insensitive?

查看:702
本文介绍了URI是否不区分大小写?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


比较两个URI以确定它们是否匹配时,客户端

应该使用整个
$的区分大小写的八位字节比较b $ b URIs,但有以下例外情况:

When comparing two URIs to decide if they match or not, a client
SHOULD use a case-sensitive octet-by-octet comparison of the entire
URIs, with these exceptions:

我在 Http Rfc 我认为Url不区分大小写但我没有动摇,这意味着

I read above Sentence in Http Rfc I think Url is case-insensitive but i dont undrestand what that means ?

推荐答案

实际上它取决于网络服务器。

In reality it depends on the web server.

IIS不区分大小写。

IIS is not case sensitive.

Apache是​​。

Apache is.

我怀疑有关IIS的决定是因为Windows文件系统不区分大小写。

I suspect that the decision regarding IIS is rooted in the fact that the Windows file system is not case sensitive.

IIS仍然符合规范的这一部分,因为SHOULD是推荐,而非要求。

IIS still meets that portion of the spec because SHOULD is a recommendation, not a requirement.

这篇关于URI是否不区分大小写?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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