Skip Menu |

This queue is for tickets about the URI-Title CPAN distribution.

Report information
The Basics
Id: 57068
Status: new
Priority: 0/
Queue: URI-Title

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: http response content type
Date: Fri, 30 Apr 2010 11:39:07 +1000
To: bug-URI-Title [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
Nosing around the code for URI::Title 1.82 I wondered if when downloading it might use the Content-Type from the server rather than loading up File::Type and guessing from the content bytes. Doing so might need a little aliasing among things like html/xhtml whatnot in case some servers aren't as consistent as File::Type, but I would think believing the server's type would usually be the right thing to do.