Sean Boudreau(deleted)
08/06/2009 4:08 PM
post35422
|
On Thu, Aug 06, 2009 at 08:28:04AM -0400, Lewis Donzis wrote:
> I'm not sure where to post this -- can't find any better place, so here goes...
>
> slinger apparently has a set of hard-coded MIME types based on file extension, but it doesn't include some key items
like .js or .css. Unfortunately, some modern browsers (e.g., Firefox) are unhappy about this, e.g., if you include a .
css and the MIME type doesn't properly indicate that it's text/css, then it will refuse to import it. Similarly,
Firebug won't show you any Javascript because the .js file wasn't marked as text/javascript.
>
> I thought about porting a modern version of Apache, but that seems like major overkill to solve this.
>
> So the questions are, can/will the current source for slinger be made available, and/or can some of the now-common
MIME types be added to its table, and/or can it have a configurable MIME type table?
I'm looking into this for slinger.
BTW apache is here:
http://ftp.netbsd.org/pub/pkgsrc/packages/QNX/i386/6.4.1_head_20090724/
See the pkgsrc project:
http://community.qnx.com/sf/projects/pkgsrc
-seanb
|
|
|
Sean Boudreau(deleted)
08/11/2009 12:56 PM
post35727
|
On Thu, Aug 06, 2009 at 08:28:04AM -0400, Lewis Donzis wrote:
> I'm not sure where to post this -- can't find any better place, so here goes...
>
> slinger apparently has a set of hard-coded MIME types based on file extension, but it doesn't include some key items
like .js or .css. Unfortunately, some modern browsers (e.g., Firefox) are unhappy about this, e.g., if you include a .
css and the MIME type doesn't properly indicate that it's text/css, then it will refuse to import it. Similarly,
Firebug won't show you any Javascript because the .js file wasn't marked as text/javascript.
>
> I thought about porting a modern version of Apache, but that seems like major overkill to solve this.
>
> So the questions are, can/will the current source for slinger be made available, and/or can some of the now-common
MIME types be added to its table, and/or can it have a configurable MIME type table?
>
I added these but I used application/javascript rather than
text/javascript as per rfc 4329. Making this extensible
and getting the source out there is still on the list...
Regards,
-seanb
|
|
|