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

Jmnote (토론 | 기여)님의 2016년 4월 12일 (화) 16:58 판 (Jmnote 사용자가 Curl 헤더 정보 보기 문서를 Curl 헤더정보 보기 -i 문서로 옮겼습니다)
curl 정보 보기
curl HTTP header 보기

1 실행예시

[root@zetawiki ~]# 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@zetawiki ~]# 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 }}