Curl 헤더정보 보기 -I, -i

Jmnote (토론 | 기여)님의 2014년 9월 10일 (수) 14:40 판 (→‎같이 보기)
curl 정보 보기
curl HTTP header 보기

1 실행예시

[root@jmnote ~]# curl -I google.com
HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Date: Sat, 06 Oct 2012 03:14:42 GMT
Expires: Mon, 05 Nov 2012 03:14:42 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 219
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
[root@jmnote ~]# curl -I 127.0.0.1
HTTP/1.1 200 OK
Date: Sat, 06 Sep 2014 07:35:34 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: PHP/5.3.3
Connection: close
Content-Type: text/html; charset=UTF-8

2 같이 보기

3 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}