Would browsers behave differently if we sent *no* content-type header for
those files (instead of sending an explicit "application/octet-stream"
header)?
David Glasser wrote on Mon, 24 Aug 2009 at 18:04 -0700:
> On Mon, Aug 24, 2009 at 9:29 AM, C. Michael Pilato<cmpilato_at_collab.net> wrote:
> > Bert Huijben wrote:
> >>> If we can't figure out a good mime type to use, then we'll default to a
> >>> bag o' bytes: application/octet-stream.
> >>
> >> It seems this breaks browsing to text files via Firefox.
> >>
> > Yeah, I guess it would work fine if we set the svn:mime-type property on our
> > CHANGES file, though (to "text/plain").
>
> On the other hand, it's an irritating feature of many web browsers
> that there's no way to convince them to view an
> application/octet-stream file inline, whereas an erroneous text/plain
> should still support "save link as". I think using octet-stream as
> the default is likely to overall reduce usability of Subversion.
>
> --dave
>
>
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2386976
Received on 2009-08-27 00:05:56 CEST