"Curl 헤더정보 보기 -I, -i"의 두 판 사이의 차이

잔글 (로봇: 자동으로 텍스트 교체 (-[root@jmnote +[root@zetawiki))
잔글 (봇: 자동으로 텍스트 교체 (-<source lang='cli'> +<source lang='console'>))
3번째 줄: 3번째 줄:


==실행예시==
==실행예시==
<source lang='cli'>
<source lang='console'>
[root@zetawiki ~]# curl -I google.com
[root@zetawiki ~]# curl -I google.com
HTTP/1.1 301 Moved Permanently
HTTP/1.1 301 Moved Permanently
16번째 줄: 16번째 줄:
X-Frame-Options: SAMEORIGIN
X-Frame-Options: SAMEORIGIN
</source>
</source>
<source lang='cli'>
<source lang='console'>
[root@zetawiki ~]# curl -I 127.0.0.1
[root@zetawiki ~]# curl -I 127.0.0.1
HTTP/1.1 200 OK
HTTP/1.1 200 OK

2016년 3월 29일 (화) 10:19 판

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 }}