붉은거위 노트 (redgoose note)

http 헤더정보 확인하기

Nest
Development
Category
Server
Hit
498
Star
0

터미널에서의 명령어

curl --header "Accept-Encoding: gzip,deflate,sdch" -I https://redgoose.me

결과는..

HTTP/1.1 200 OK
Server: nginx/1.6.0
Date: Fri, 13 Mar 2015 02:52:13 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
X-Powered-By: PHP/5.5.12
Set-Cookie: PHPSESSID=414aadf06b18fef840cf4ab4ce4fbc32; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Encoding: gzip

이런 형태로 출력된다. gzip이 켜져있는지 서버가 어떤건지 확인가능함.