ericmckean / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Should be able to set Content-Type in Minify_Source constructor #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When serving a single Minify_Source not based on a static file, there's no 
way to set the Content-Type without setting it in the serve() options.

Minify_Source changes:
1. Add public $contentType
2. If $spec['filepath'], set from extension
3. rewrite getContentType() to use the first non-empty $contentType

Original issue reported on code.google.com by mrclay....@gmail.com on 11 Jun 2009 at 1:31

GoogleCodeExporter commented 9 years ago
Done in R333/2.1.3

Original comment by mrclay....@gmail.com on 1 Jul 2009 at 7:04