diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-09-29 12:52:54 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-10-04 21:45:11 +0200 |
commit | 48f80ae480e2fc0eabbdb5041e841b80c0f788f4 (patch) | |
tree | cda20c09831038d4b0c3ae78679b43dc127950be /src/hydrilla/proxy/policies | |
parent | b0fcc865599cfdc87e2ca8a637df8f5b336bb459 (diff) | |
download | haketilo-hydrilla-48f80ae480e2fc0eabbdb5041e841b80c0f788f4.tar.gz haketilo-hydrilla-48f80ae480e2fc0eabbdb5041e841b80c0f788f4.zip |
[proxy] display some more details in mapping/resource version view in the web UI
Diffstat (limited to 'src/hydrilla/proxy/policies')
-rw-r--r-- | src/hydrilla/proxy/policies/payload_resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hydrilla/proxy/policies/payload_resource.py b/src/hydrilla/proxy/policies/payload_resource.py index 3872037..30b28f2 100644 --- a/src/hydrilla/proxy/policies/payload_resource.py +++ b/src/hydrilla/proxy/policies/payload_resource.py @@ -91,7 +91,7 @@ class PayloadResourcePolicy(PayloadAwarePolicy): return http_messages.ProducedResponse( 200, - ((b'Content-Type', file_data.type.encode()),), + ((b'Content-Type', file_data.mime_type.encode()),), file_data.contents ) |