From 2cd51ef5d4e2cb51b708f2f4839acdb6e21f090a Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Mon, 14 Nov 2011 10:58:58 -0800 Subject: [PATCH] "Trailer" header should mention "Content-MD5" trailer name in this example. Fixes #2107 --- doc/api/http.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/http.markdown b/doc/api/http.markdown index 6836a6b924..c45d5778c2 100644 --- a/doc/api/http.markdown +++ b/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();