From 3be5854e3bcf1c615d82929d605b5ffb7049e180 Mon Sep 17 00:00:00 2001 From: Alexander Shorin Date: Thu, 25 Sep 2014 00:51:21 +0400 Subject: [PATCH] Rebrand X-Cloudant-Stack-Hash header for CouchDB --- src/chttpd.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chttpd.erl b/src/chttpd.erl index 77093c9..8945d0a 100644 --- a/src/chttpd.erl +++ b/src/chttpd.erl @@ -927,7 +927,7 @@ log_error_with_stack_trace(_) -> ok. stack_trace_id(Stack) -> - {"X-Cloudant-Stack-Hash", stack_hash(Stack)}. + {"X-Couch-Stack-Hash", stack_hash(Stack)}. stack_hash(Stack) -> erlang:crc32(term_to_binary(Stack)).