see iis mime mapping in the vdir
-- bruce (sqlwork.com)
> Is it possible to set the ContentType for the VirtualFile-descendant that a
> custom virtual path provider returns in response to a call to its GetFile
> method? Right now, web browsers tend to misinterpret the XML-data I return,
> because I cannot specify that the content type is text/xml.
Jan - 15 Feb 2008 10:33 GMT
Thanks, Bruce!
Perhaps I misunderstood your reply - if I'm running my code directly from
Visual Studio 2005, using the built-in development web server, where can I
set MIME mappings?
> see iis mime mapping in the vdir
>
[quoted text clipped - 6 lines]
>> return,
>> because I cannot specify that the content type is text/xml.