diff options
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 ) |