티스토리 뷰

공부

[HTTP] header is case-insensitive

승가비 2020. 11. 20. 23:42
728x90

Each header field consists of a name followed by a colon (":") and the field value. Field names are `case-insensitive`.

 

https://www.w3.org/Protocols/rfc2616/rfc2616.html

 

Hypertext Transfer Protocol -- HTTP/1.1

This document has been superseded. In 2014, RFC2616 was replaced by multiple RFCs (7230-7237). See IETF Documents for more information. Network Working Group R. Fielding Request for Comments: 2616 UC Irvine Obsoletes: 2068 J. Gettys Category: Standards Tra

www.w3.org

https://stackoverflow.com/questions/5258977/are-http-headers-case-sensitive

 

Are HTTP headers case-sensitive?

In a blog post I use the following PHP to set the content-type of a response: header('content-type: application/json; charset=utf-8'); I just got a comment on that post saying that content-type n...

stackoverflow.com

 

728x90

'공부' 카테고리의 다른 글

[SQL] ORDER BY RAND()  (0) 2020.11.20
[SQL] SHOW CREATE TABLE table;  (0) 2020.11.20
[Apache] SSL & tomcat  (0) 2020.11.20
[HDFS] remove .Trash (check quota)  (0) 2020.11.15
[MySQL] auto restart by crontab  (0) 2020.11.07
댓글