HTTP 헤더 파서
HTTP 헤더를 파싱하고 분석합니다. 분류 및 설명으로 헤더 목적을 이해합니다.
Entity (2)
Content-Type
application/json; charset=utf-8
The media type of the body
Content-Length
1234
The size of the body in bytes
Caching (1)
Cache-Control
max-age=3600, public
Directives for caching mechanisms
Response (2)
X-Powered-By
Next.js
Technology powering the web application
Set-Cookie
session=abc123; Path=/; HttpOnly; Secure
Send cookies from the server to the client
Security (2)
Strict-Transport-Security
max-age=31536000; includeSubDomains
Force HTTPS connections (HSTS)
Content-Security-Policy
default-src 'self'
Controls resources the browser is allowed to load
HTTP 헤더 - 기술 세부 정보
HTTP 헤더는 요청과 응답에 대한 메타데이터를 전달합니다. 캐싱, 인증, 콘텐츠 유형, 보안 정책 등을 제어합니다. 헤더를 이해하는 것은 웹 개발 및 디버깅에 필수적입니다.
명령줄 대안
// Important headers\nContent-Type: application/json\nCache-Control: max-age=3600\nAuthorization: Bearer token\nStrict-Transport-Security: max-age=31536000