mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 23:00:18 +00:00
hide x-request-id #342
This commit is contained in:
+2
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user