File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ Alias /raw @DocumentRoot@
37
37
SetHandler modperl
38
38
PerlResponseHandler MY::NoCTypeHandler
39
39
PerlOutputFilterHandler Apache2::Filter::Minifier::JavaScript
40
- DefaultType text/missing
41
40
</Location>
42
41
43
42
<Location /decline_uc>
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use lib 't';
7
7
use MY::slurp;
8
8
9
9
# Test "Content-Type" headers
10
- plan tests => 3 , need_lwp;
10
+ plan tests => 2 , need_lwp;
11
11
12
12
# "Content-Type" with additional attributes (e.g. "charset")
13
13
charset_minified: {
@@ -19,13 +19,11 @@ charset_minified: {
19
19
}
20
20
21
21
# Missing "Content-Type" header; should decline processing and we get the
22
- # un-minified version. Apache, however, -will- set a default "Content-Type"
23
- # into the response.
22
+ # un-minified version.
24
23
content_type_missing: {
25
24
my $res = GET ' /content-type/missing' ;
26
25
my $body = $res -> content;
27
26
my $orig = slurp( ' t/htdocs/test.js' );
28
27
29
- ok( $res -> content_type eq ' text/missing' );
30
28
ok( t_cmp($body , $orig ) );
31
29
}
You can’t perform that action at this time.
0 commit comments