用于设置基础的 HTTP 内容位置 URL

HTTP Content-Location for setting base URL

根据W314.14 Content-Location包括:

Content-Location also defines the base URI for the entity

我正在尝试做:

但是,浏览器不尊重这一点。有没有办法在 <base> 之外执行此操作?

您正在查看过时的规范(顺便说一句,这是 IETF 规范,而不是 W3C 规范)。请参阅 http://greenbytes.de/tech/webdav/rfc7231.html#header.content-location