방법 설명 :
이 스틱 방법은 메시지 끝에 HTTP 후행 응답 헤더를 추가하는 데 사용됩니다.
문법:
코드 사본은 다음과 같습니다.
응답. AddTrailers (헤더)
매개 변수 수신 :
헤더 응답 헤더 정보
예:
코드 사본은 다음과 같습니다.
response.writehead (200, { 'content-type': 'text/plain', 'trailer': 'content-md5'});
응답 (filedata);
response.addtrailers ({ 'content-md5': "7895BF4B8828B55CEAP47747B4BCA667"});
응답 ();