2009-12-25 2 views

답변

1

다운로드보기는 content-disposition 헤더로 제어됩니다. 아래에 헤더를 추가하면 파일 저장 대화 상자가 나타납니다.

content-disposition: attachment; filename=test.pdf 
+0

다운로드 및보기 헤더는 각각 무엇입니까? – user198729

+0

기본적으로보기가 표시됩니다. "content-disposition"이라는 이름의 헤더와 "attachment; filename = test.pdf"값을 추가하면 다운로드 할 수 있습니다. –

+0

'content-type'이란 무엇입니까? – user198729

관련 문제