Skip to content

Commit 13c1985

Browse files
Merge pull request #24 from damienalexandre/patch-1
Do not lower case the HTTP header value
2 parents 2957917 + 34fdb53 commit 13c1985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-entrypoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async def generate(request):
3838
config = {}
3939
for k, v in request.headers.items():
4040
if k.startswith('Pdf-') or k.startswith('Pdf_'):
41-
config[k[4:].lower()] = v.lower()
41+
config[k[4:].lower()] = v
4242
data = await request.read()
4343
if not data:
4444
logger.info('Request with no body data')

0 commit comments

Comments
 (0)