Jmnote bot (토론 | 기여) 잔글 (봇: 자동으로 텍스트 교체 (-== 참고 자료 == +==참고==)) |
|||
(사용자 3명의 중간 판 26개는 보이지 않습니다) | |||
1번째 줄: | 1번째 줄: | ||
;HTTP header fields | ==개요== | ||
;HTTP 헤더 필드 | ;HTTP header, HTTP header fields | ||
;HTTP 헤더, HTTP 헤더 필드 | |||
* HTTP 요청 및 응답 메시지의 헤더 부분 | |||
== | ==요청필드== | ||
; | {| class='wikitable' | ||
! 헤더 필드명 !! 설명 !! 예시 | |||
|- | |||
| Accept|| 콘텐츠 타입 || <code>text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8</code> | |||
|- | |||
| Accept-Charset || 캐릭터셋 || <code>Accept-Charset: utf-8</code> | |||
|- | |||
| Accept-Encoding || 인코딩 || <code>Accept-Encoding: gzip, deflate</code> | |||
|- | |||
| Connection || 커넥션 || <code>Connection: keep-alive</code><Br><code>Connection: Upgrade</code> | |||
|- | |||
| Referer || [[리퍼러]] || <code><nowiki>Referer: http://en.wikipedia.org/wiki/Main_Page</nowiki></code> | |||
|- | |||
| [[X-Forwarded-For]] ★ || 포워딩 || <code>X-Forwarded-For: client1, proxy1, proxy2</code><Br><code>X-Forwarded-For: 129.78.138.66, 129.78.64.103</code> | |||
|- | |||
| X-Forwarded-Host || 호스트 포워딩 || <code>X-Forwarded-Host: en.wikipedia.org:80</code><Br><code>X-Forwarded-Host: en.wikipedia.org</code> | |||
|- | |||
| Warning || 경고 || <code>Warning: 199 Miscellaneous warning</code> | |||
|} | |||
; | ==응답필드== | ||
{| class='wikitable' | |||
! 헤더 필드명 !! 설명 !! 예시 | |||
|- | |||
| Access-Control-Allow-Origin || [[CORS]] 허용범위 || <code>Access-Control-Allow-Origin: *</code> | |||
|- | |||
| Age || [[프록시 캐시]]에 있던 시간(초) || <code>Age: 12</code> | |||
|- | |||
| Cache-Control || 서버의 캐시설정시간(초) || <code>Cache-Control: max-age=3600</code> | |||
|- | |||
| Connection || 커넥션 || <code>Connection: close</code> | |||
|- | |||
| [[Content-Disposition]] || 콘텐츠 성격 || <code>Content-Disposition: attachment; filename="hello.png"</code> | |||
|- | |||
| [[Content-Encoding]] || 콘텐츠 인코딩 || <code>Content-Encoding: gzip</code> | |||
|- | |||
| [[Content-Length]] || 콘텐츠 길이 || <code>Content-Length: 348</code> | |||
|- | |||
| [[Content-Type]] || 콘텐츠 유형 || <code>Content-Type: text/html; charset=utf-8</code> | |||
|- | |||
| Date || || <code>Date: Tue, 15 Nov 1994 08:12:31 GMT</code> | |||
|- | |||
| [[ETag]] || || <code>ETag: "737060cd8c284d8af7ad3082f209582d"</code> | |||
|- | |||
| Expires || || <code>Expires: Thu, 01 Dec 1994 16:00:00 GMT</code> | |||
|- | |||
| Location || || | |||
|- | |||
| Pragma || || <code>Pragma: no-cache</code> | |||
|- | |||
| [[HTTP 헤더 Server|Server]] || || <code>Server: Apache/2.4.1 (Unix)</code> | |||
|- | |||
| [[HTTP 헤더 Via|Via]] || || <code>Via: 1.1 varnish</code> | |||
|} | |||
==같이 보기== | ==같이 보기== | ||
*[[curl 헤더 정보 보기]] | *[[curl 헤더 정보 보기]] | ||
*[[HTTP 상태 코드]] | |||
*[[HTTP 요청, 응답]] | |||
*[[HTTP]] | *[[HTTP]] | ||
*[[헤더]] | |||
*[[웹사이트 속도 향상 방법]] | |||
==참고 | ==참고== | ||
*http://en.wikipedia.org/wiki/List_of_HTTP_header_fields | * http://en.wikipedia.org/wiki/List_of_HTTP_header_fields | ||
* http://www.tutorialspoint.com/http/http_header_fields.htm | |||
* https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html | |||
[[분류: HTTP]] | [[분류: HTTP 헤더]] |
2017년 6월 27일 (화) 04:09 기준 최신판
1 개요[ | ]
- HTTP header, HTTP header fields
- HTTP 헤더, HTTP 헤더 필드
- HTTP 요청 및 응답 메시지의 헤더 부분
2 요청필드[ | ]
헤더 필드명 | 설명 | 예시 |
---|---|---|
Accept | 콘텐츠 타입 | text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
|
Accept-Charset | 캐릭터셋 | Accept-Charset: utf-8
|
Accept-Encoding | 인코딩 | Accept-Encoding: gzip, deflate
|
Connection | 커넥션 | Connection: keep-alive Connection: Upgrade
|
Referer | 리퍼러 | Referer: http://en.wikipedia.org/wiki/Main_Page
|
X-Forwarded-For ★ | 포워딩 | X-Forwarded-For: client1, proxy1, proxy2 X-Forwarded-For: 129.78.138.66, 129.78.64.103
|
X-Forwarded-Host | 호스트 포워딩 | X-Forwarded-Host: en.wikipedia.org:80 X-Forwarded-Host: en.wikipedia.org
|
Warning | 경고 | Warning: 199 Miscellaneous warning
|
3 응답필드[ | ]
헤더 필드명 | 설명 | 예시 |
---|---|---|
Access-Control-Allow-Origin | CORS 허용범위 | Access-Control-Allow-Origin: *
|
Age | 프록시 캐시에 있던 시간(초) | Age: 12
|
Cache-Control | 서버의 캐시설정시간(초) | Cache-Control: max-age=3600
|
Connection | 커넥션 | Connection: close
|
Content-Disposition | 콘텐츠 성격 | Content-Disposition: attachment; filename="hello.png"
|
Content-Encoding | 콘텐츠 인코딩 | Content-Encoding: gzip
|
Content-Length | 콘텐츠 길이 | Content-Length: 348
|
Content-Type | 콘텐츠 유형 | Content-Type: text/html; charset=utf-8
|
Date | Date: Tue, 15 Nov 1994 08:12:31 GMT
| |
ETag | ETag: "737060cd8c284d8af7ad3082f209582d"
| |
Expires | Expires: Thu, 01 Dec 1994 16:00:00 GMT
| |
Location | ||
Pragma | Pragma: no-cache
| |
Server | Server: Apache/2.4.1 (Unix)
| |
Via | Via: 1.1 varnish
|
4 같이 보기[ | ]
5 참고[ | ]
편집자 Jmnote John Jeong Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.