We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1b6157 commit 4d7e5f7Copy full SHA for 4d7e5f7
pycsw/wsgi.py
@@ -83,7 +83,7 @@ def application_dispatcher(env):
83
csw = server.Csw(configuration_path, env)
84
status, contents = csw.dispatch_wsgi()
85
headers = {
86
- 'Content-Length': str(len(contents.encode("utf-8"))),
+ 'Content-Length': str(len(contents)),
87
'Content-Type': str(csw.contenttype)
88
}
89
if "gzip" in env.get("HTTP_ACCEPT_ENCODING", ""):
0 commit comments