响应头域中的:Location响应头
Location响应头用于重定向接收者到一个新URI地址。
The Location response-header field is used to redirect the recipient to a location other than the Request-URI for completion of the request or identification of a new resource. For 201 (Created) responses, the Location is that of the new resource which was created by the request. For 3xx responses, the location SHOULD indicate the server’s preferred URI for automatic redirection to the resource. The field value consists of a single absolute URI.
Location = "Location" ":" absoluteURI
An example is:
Location: http://www.w3.org/pub/WWW/People.html
Note: The Content-Location header field (section 14.14) differs
from Location in that the Content-Location identifies the original
location of the entity enclosed in the request. It is therefore
possible for a response to contain header fields for both Location
and Content-Location. Also see section 13.10 for cache
requirements of some methods.
实体中的:Content-Location
The Content-Location entity-header field MAY be used to supply the resource location for the entity enclosed in the message when that entity is accessible from a location separate from the requested resource’s URI. A server SHOULD provide a Content-Location for the variant corresponding to the response entity; especially in the case where a resource has multiple entities associated with it, and those entities actually have separate locations by which they might be individually accessed, the server SHOULD provide a Content-Location for the particular variant which is returned.
Content-Location = "Content-Location" ":"
( absoluteURI | relativeURI )
The value of Content-Location also defines the base URI for the entity.
分享到:
相关推荐
主要介绍了Java获取文件ContentType案例,具有很好的参考价值,希望对大家有所帮助。一起跟随小编过来看看吧
下面小编就为大家带来一篇基于java下载中getContentLength()一直为-1的一些思路。小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随小编过来看看吧
const httpServer = (opts, data) => { const token = localStorage.getItem('token') const PUBLIC = `?token=${token}` let httpDefaultOpts = '' var host = `${process.env.HOST}` var prot = `${process....
header(“Conten-Disposition:filename=hp.xlsx”); ?>第一句是用来声明文件内容的格式;第二局是用来修改文件名的。如果没有第二个语句的话,生成的文件将是没有后缀名的。实现代码:复制代码 代码如下:<...
<div class="main-main-content-top-left"> <div class="main-main-content-top-left-prev"><</div> <div class="main-main-content-top-left-next">></div> </div> ...</div> <div class="main-middle-conten
海德伦 ... 它不需要完整的 Cardano 节点,依靠来查询和提交交易。 在 Cardano testnet和mainnet testnet良好(在两者之间切换非常容易)。 目前,该系统允许您创建钱包并查看每个钱包的内容,它可以...--header ' Conten
初学者必看的东西。台湾小站的学习资料,详细
charset=utf-8 ‘); //Atom header(‘Content-type: application/atom+xml’); //CSS header(‘Content-type: text/css’); //Javascript header(‘Content-type: text/javascript’... //JSON header(‘Conten
图像比较器简单的http服务以使用opencv2比较图像如何建造docker ..., " imageUrl1 " : " link to image 1 " , " imageUrl2 " : " link to image 2 " }例子curl -X POST \ http://localhost:1234/compare \ -H ' Conten
实时HTTP标头会记录您的Chrome浏览器和Internet之间的所有HTTP通信。 如果您要执行以下操作,此扩展名可能会有所帮助:*调试Web应用程序*遵循重定向路径*查看远程站点发送的cookie *查看远程站点使用的Web服务器*...
这个插件包含了 main.js(popup页面使用的js) 跟 background.js(后台) 之前的通信 main.js(popup页面使用的js) 跟 content.js(注入到dom的js) 之前的通信 background.js 跟 cntent.js 之前的通信
拖动滑块验证功能在支付宝,微信各大平台都能见到这样的功能,那么基于js组件是如何实现此功能的呢?今天小编就给大家分享下js 拖动滑块 验证功能的实现代码,具体代码如下所示: ...meta http-equiv=Expires conten
java shuffle源码Databricks - Apache Spark:trade_mark: - 2X 认证开发人员 这个 repo 是我的认证准备笔记的集合。 如果您有任何建议,找到更正或想要欣赏,请发表评论:-) 关注我,,,, ..."/conten
React本地像素工厂手风琴 使用react-native-collapsible React Native动画手风琴组件 该组件的主要灵感来自于随附的组件。 制作此组件的灵感来自于此 ,但由于react-native-collapsible使用Animated ,我决定... Conten
代码如下:<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <...meta http-equiv=”content-script-type” conten
Conten Addressable数据同步工具。可作为高效的备份系统,一种有效的方式来存储和检索大型文件系统或目录树的多个相关版本,以HTTP和CDN友好的方式通过互联网提供和更新OS,VM,IoT和容器镜像的高效方式。
下载后解压,将features、plugins文件夹和artifacts.jar、content.jar至于dropins\egit\目录下,重启即可
omegaide的默认反汇编程序机制(用于Java Type Conten Assist)正在重新设计,以实现即时工作。 这里不需要贡献,没有问题,没有拉取请求。 但是,如果您要使用源,则可以根据许可证使用它们。
Jquery+javascript实现支付网页数字键盘 ...DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta content="initial-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport"> <meta conten