getting the mime of text files
Posted
by acidzombie24
on Stack Overflow
See other posts from Stack Overflow
or by acidzombie24
Published on 2009-07-01T01:35:32Z
Indexed on
2010/04/13
18:03 UTC
Read the original article
Hit count: 367
I am using a piece of code someone pasted for C# which uses urlmon.dll. It reads in <= 256bytes and returns the mime based on the data.
Problem is it cant distinguishes a css file from a text/plain. I can goto /style.css but when including it in my html the CSS does not show up. I am using urlmon + context.Response.TransmitFile to send it.
© Stack Overflow or respective owner