Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

"Trailer" header should mention "Content-MD5" trailer name in this ex…

…ample.

Fixes #2107
  • Loading branch information...
trentm authored and ry committed Nov 14, 2011
1 parent 3222a04 commit 2cd51ef5d4e2cb51b708f2f4839acdb6e21f090a
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api/http.markdown
@@ -358,7 +358,7 @@ Note that HTTP requires the `Trailer` header to be sent if you intend to
emit trailers, with a list of the header fields in its value. E.g.,

response.writeHead(200, { 'Content-Type': 'text/plain',
'Trailer': 'TraceInfo' });
'Trailer': 'Content-MD5' });
response.write(fileData);
response.addTrailers({'Content-MD5': "7895bf4b8828b55ceaf47747b4bca667"});
response.end();

0 comments on commit 2cd51ef

Please sign in to comment.
You can’t perform that action at this time.