简体   繁体   English

哪些 HTTP 接头与某些方法匹配?

[英]Which HTTP headers match certain methods?

I want to make a database where I store data from HAR files.我想创建一个数据库来存储来自 HAR 文件的数据。 Specifically, I want, by European standards, to store the following headers from HTTP requests and responses.具体来说,按照欧洲标准,我希望存储来自 HTTP 请求和响应的以下标头。

  • content-type内容类型
  • cache-control缓存控制
  • pragma语用
  • expires过期
  • age年龄
  • last-modified最后修改
  • host主持人

In order to make an efficient MySQL database though, I need to categorise them in a way where I get the least amount of empty columns.不过,为了制作一个高效的 MySQL 数据库,我需要以一种获得最少空列的方式对它们进行分类。 Problem is, that I cannot find any information about which types of request/responses get specific headers.问题是,我找不到有关哪些类型的请求/响应获得特定标头的任何信息。

The idea is to make different ISA tables for request and headers where I include the headers that will definitely be included in the corresponding request/response.这个想法是为请求和标头制作不同的 ISA 表,其中包含肯定会包含在相应请求/响应中的标头。

I think it might have to do with the method of the request, but I have not found ANY info about that online我认为这可能与请求的方法有关,但我没有在网上找到任何有关该信息的信息

In general, header fields are not specific to methods;一般来说,header 字段不特定于方法; more likely to the distintion between request and response, status code, and whether a payload is present in the request.更可能是请求和响应、状态代码以及请求中是否存在有效负载之间的区别。

(The details are in RFCs 7230..5). (详细信息在 RFC 7230..5 中)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 TDataset的某些内部方法必须做什么? - What must certain internal methods of TDataset do? 如何调用某些方法并根据类类型返回某些对象 - How to call certain methods and return certain objects based on class type 登录时出现错误 [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client - When loging in I get Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client 数据库更改后出现错误[ERR_HTTP_HEADERS_SENT] - Error [ERR_HTTP_HEADERS_SENT] after change in database 以下哪种方法可提供最快的页面加载速度? - Which of these methods provides for the fastest page loading? 哪个SQL查询更好,MATCH AGAINST还是LIKE? - Which SQL query is better, MATCH AGAINST or LIKE? MySQL-查找具有相同列但匹配某些ID的行 - MySQL - Find rows that have same column but match certain ids 有没有办法从 Tableau 中的 regexp_match 语句中排除某些关键字? - Is there a way to exclude certain keywords from a regexp_match statement in Tableau? 如何扫描数据库并根据某些属性匹配模型? (django) - How to scan the database and match models based on certain attributes? (django) Neo4j:如何在MATCH中排除某些节点作为源节点的某些关系 - Neo4j: How to exclude certain relationships where certain node as source node in MATCH
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM