List of HTTP header fields

https://en.wikipedia.org/wiki/List_of_HTTP_header_fields

Content-Type

The MIME type of the body of the request (used with POST and PUT requests)

Content-Type: application/x-www-form-urlencoded

常见 MIME type

Type application

application/json: JavaScript Object Notation JSON;

application/pdf: Portable Document Format, PDF has been in use for document exchange on the Internet since 1993;

application/xmlXML files;

Type text

text/cssCascading Style Sheets;

text/csvComma-separated values;

text/htmlHTML;

text/javascript (Obsolete): JavaScript;

text/xml: Extensible Markup Language;

List of common media subtype prefixes

application/vnd.ms-excelMicrosoft Excel files

时间: 2024-10-17 20:22:44

List of HTTP header fields的相关文章

[SIP01]SIP Header Fields里面各字段用途

INVITE sip:[email protected] SIP/2.0 Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bK776asdhds Max-Forwards: 70 To: Bob <sip:[email protected]> From: Alice <sip:[email protected]>;tag=1928301774 Call-ID: [email protected] CSeq: 314159 INVITE C

Status Code: 431 Request Header Fields Too Large

Status Code: 431 Request Header Fields Too Large 原文地址:https://www.cnblogs.com/yuanjiangw/p/11725663.html

[转]HTTP Response Header Fields

当浏览器发送了HTTP请求之后,服务器就会通过一个HTTP response来响应这个请求.http header请求完成之后,你的浏览器可能会收到如下的HTTP响应: HTTP/1.x 200 OKTransfer-Encoding: chunkedDate: Sat, 28 Nov 2009 04:36:25 GMTServer: LiteSpeedConnection: closeX-Powered-By: W3 Total Cache/0.8Pragma: publicExpires:

Volley和OkHttp并用时导致http header数据被覆盖的bug

问题出在BasicNetwork的performRequest()方法中,出问题的代码如下: public NetworkResponse performRequest(Request<?> request) throws VolleyError { long requestStart = SystemClock.elapsedRealtime(); while (true) { HttpResponse httpResponse = null; byte[] responseContents

post Cache

http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5 POST The POST method is used to request that the origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the Request-URI in the Request-Li

HTTP 首部字段详细介绍

HTTP 协议的请求和响应报文中必定包含 HTTP 首部,只是我们平时在使用 Web 的过程中感受不到它.本章 我们一起来学习 HTTP 首部的结构,以及首部中各字段的用法. 6.1 HTTP 报文首部 首部内容为客户端和服务器分别处理请求和响应提供 所需要的信息.对于客户端用户来说,这些信息中的大部分内容都无须亲自查看. HTTP 请求报文 在请求中,HTTP 报文由方法.URI.HTTP 版本.HTTP 首部字段等部分构成. 下面的示例是访问 http://hackr.jp 时,请求报文的首

nginx基础到进阶(二)

Nginx相关配置 =============================================================================== 概述: 本篇我们将继续上一篇的话题,来介绍Nginx的相关配置 回顾: Nginx安装之rpm包 过程如下:   1.在Nginx官方网点下载适合的nginx rpm包到本地,这里是我下载的rpm包: nginx-1.10.0-1.el7.ngx.x86_64.rpm 2.在当前nginx包的所在目录中执行yum in

HTTP2.0那些事

1. HTTP2.0的前世 http2.0的前世是http1.0和http1.1这两兄弟.虽然之前仅仅只有两个版本,但这两个版本所包含的协议规范之庞大,足以让任何一个有经验的工程师为之头疼.http1.0诞生于1996年,协议文档足足60页.之后第三年,http1.1也随之出生,协议文档膨胀到了176页.不过和我们手机端app升级不同的是,网络协议新版本并不会马上取代旧版本.实际上,1.0和1.1在之后很长的一段时间内一直并存,这是由于网络基础设施更新缓慢所决定的.今天的http2.0也是一样,

Caching POST

https://www.mnot.net/blog/2012/09/24/caching_POST One of the changes in Apple's release of iOS6 last week was a surprising new ability to cache POST responses. Lots has been said about this, but some people reading RFC2616 have come away scratching t