dev.syw
공통 · 표현 헤더

Content-Disposition

본문을 화면에 표시할지 다운로드할지 지정합니다.

inline이면 브라우저에서 표시, attachment면 다운로드합니다. 파일명을 지정할 수도 있습니다.

예시

Content-Disposition: attachment; filename="report.pdf"
← HTTP 헤더 전체 보기