Minor patch

This commit is contained in:
Miroslav Stampar
2018-06-08 14:45:15 +02:00
parent 23777143b6
commit cf4c263a4e
3 changed files with 4 additions and 4 deletions

View File

@@ -4385,7 +4385,7 @@ def getRequestHeader(request, name):
retVal = None
if request and name:
if request and request.headers and name:
_ = name.upper()
retVal = max(value if _ == key.upper() else None for key, value in request.header_items())