From 4a8f70bcb8e0e076a6428f8a6f8de08cc16b38d3 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 22 Mar 2017 12:55:32 -0400 Subject: [PATCH] hide x-request-id #342 --- httpbin/helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/httpbin/helpers.py b/httpbin/helpers.py index 560ce13..cb762b8 100644 --- a/httpbin/helpers.py +++ b/httpbin/helpers.py @@ -48,6 +48,7 @@ ENV_HEADERS = ( 'X-Forwarded-Protocol', 'X-Forwarded-Port', 'Runscope-Service' + 'X-Request-Id' ) ROBOT_TXT = """User-agent: * @@ -323,7 +324,7 @@ def response(credentails, password, request): HA2_value = HA2(credentails, request, algorithm) if credentails.get('qop') is None: response = H(b":".join([ - HA1_value.encode('utf-8'), + HA1_value.encode('utf-8'), credentails.get('nonce', '').encode('utf-8'), HA2_value.encode('utf-8') ]), algorithm)