[英]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 请求和响应的以下标头。
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.