Changeset 5102

Show
Ignore:
Timestamp:
01/20/08 21:20:04 (6 years ago)
Author:
drry
Message:

lang/perl/mobirc/trunk/mobirc/lib/Mobirc/HTTPD/Router.pm: no warns if favicon reqest.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/mobirc/trunk/mobirc/lib/Mobirc/HTTPD/Router.pm

    r5101 r5102  
    3333    } 
    3434    elsif ($uri =~ '/jquery.js') { 
    35         return 'static', 'jquery.js', 'text/javascript'; 
     35        return 'static', 'jquery.js', 'application/javascript'; 
    3636    } 
    3737    elsif ($uri =~ '/mobirc.js') { 
    38         return 'static', 'mobirc.js', 'text/javascript'; 
     38        return 'static', 'mobirc.js', 'application/javascript'; 
    3939    } 
    4040    elsif ($uri =~ '/style.css') { 
     
    5151 
    5252        # doesn't match. 
    53         warn "dan the 404 not found: $uri"; 
     53        warn "dan the 404 not found: $uri" if $uri ne '/favicon.ico'; 
    5454        my $response = HTTP::Response->new(404); 
    5555        $response->content("Dan the 404 not found: $uri");