[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Why the "application/octet-stream" mime type for images?

From: JJ <eggsgloriouseggs_at_gmail.com>
Date: Tue, 4 Nov 2008 06:58:55 -0600

Why does Subversion by default use the "application/octet-stream" mime type
when I add images, instead of using the mime type for the image, such as
"image/jpeg" in the example below?

C:\work>svn add Subversion_Logo.jpg
A (bin) Subversion_Logo.jpg

C:\work>svn pl -v Subversion_Logo.jpg
Properties on 'Subversion_Logo.jpg':
  svn:mime-type : application/octet-stream

I see that there are options for enabling autoprops in the config file, but
I'm confused about the default behavior. Is this just the way Subversion
marks that it is a binary file, without having to know exactly what type of
binary file?

Thanks,
JJ
Received on 2008-11-04 13:59:20 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.