X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FCGI%2FMaypole.pm;h=793d47fb1d5c3ea1032841719281e05afc35fb4e;hb=b91bc53de6872ec4b22779382f6955b3af7c6fd5;hp=94fd27b3f79458245154e584a4dc4c596cf73176;hpb=f9a6b47b3b916585d710eac141003fb8261d9c3c;p=maypole.git diff --git a/lib/CGI/Maypole.pm b/lib/CGI/Maypole.pm index 94fd27b..793d47f 100644 --- a/lib/CGI/Maypole.pm +++ b/lib/CGI/Maypole.pm @@ -59,7 +59,7 @@ sub send_output { -content_length => do { use bytes; length $r->{output} }, ); foreach ($r->headers_out->header_field_names) { - next if /^Content-/; + next if /^Content-(Type|Length)/; $headers{"-$_"} = $r->headers_out->get($_); }