Are URIs case-insensitive?

后端 未结 6 1477
再見小時候
再見小時候 2020-12-06 16:05

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 th

6条回答
  •  余生分开走
    2020-12-06 16:47

    For a file-based URI, case-sensitivity depends more on the underlying file system, not so much the web server. Apache will happily return index.html for INDEX.html on Windows (FAT, NTFS) and mac (HFS), but not for case-sensitive file systems such as those usually used in Linux (extx and so forth).

提交回复
热议问题