This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 29442 - Default content type for *.xml in CVS browser is application/beep+
Summary: Default content type for *.xml in CVS browser is application/beep+
Status: RESOLVED INVALID
Alias: None
Product: obsolete
Classification: Unclassified
Component: collabnet (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: support
URL: http://contrib.netbeans.org/unbranded...
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-10 16:48 UTC by Jesse Glick
Modified: 2009-11-08 02:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2002-12-10 16:48:07 UTC
Go to the URL above. My browser (Linux Moz 1.2.1)
will prompt you to save a file "of type Extensible
Markup Language (application/beep+)". What on
earth is that MIME type?

Adding "&content-type=text/xml" makes the URL
display correctly - under Mozilla, should show a
page "An XML Filesystem..." (using an XSL stylesheet).

wget confirms the weirdo MIME type mapping:

[jglick@dhcppc3 nb_all]$ http_proxy=webcache:8080
wget --header='Cache-control: no-cache' -S -O -
'http://contrib.netbeans.org/unbranded-source/browse/~checkout~/contrib/calpane/src/org/netbeans/modules/calpanehtml/layer.xml?rev=1.1&content-type=text/xml'
2>&1 | fgrep -i content-type
--11:39:51-- 
http://contrib.netbeans.org/unbranded-source/browse/%7Echeckout%7E/contrib/calpane/src/org/netbeans/modules/calpanehtml/layer.xml?rev=1.1&content-type=text/xml
7 Content-type: text/xml
[jglick@dhcppc3 nb_all]$ http_proxy=webcache:8080
wget --header='Cache-control: no-cache' -S -O -
'http://contrib.netbeans.org/unbranded-source/browse/~checkout~/contrib/calpane/src/org/netbeans/modules/calpanehtml/layer.xml?rev=1.1'
2>&1 | fgrep -i content-type
7 Content-type: application/beep+
Comment 1 jveres 2002-12-11 20:17:48 UTC
Hi Jesse,

Update: i can confirm the problem with cvsweb recognition of
content-type regarding .xml.

Action plan: i'll file an interanal issue for that to our engineers.
In the meantime i found this rfc dealing with application/beep+

http://www.spectrum-worldresearch.com/relevance/projects/rfc/delivery/reliable/messages/november/attribute/collector/rfc3195.txt.delivery.html

I hope it means more to you than it does to me.

next update: upon anwer from our engineer
Comment 2 jveres 2002-12-11 20:43:44 UTC
updating whiteboard with internal tracking number.
Comment 3 Jesse Glick 2002-12-11 22:00:28 UTC
So there's some weird RFC that happens to use XML files.... not a good
reason to map *.xml to application/beep+ for the webserver, I guess!
Must be mistakenly picking up a mime types DB from somewhere
inappropriate.
Comment 4 jveres 2002-12-12 18:56:16 UTC
hi Jesse,

Update: our engineers just fixed this problem which was caused by:
bug in getMimeTypeFromSuffix() in cvsweb.

action plan: ask Jesse to verify

next update: will close upon confirmation
Comment 5 Jesse Glick 2002-12-12 20:28:07 UTC
Looks to be fixed, yes. Thanks!
Comment 6 jveres 2002-12-12 20:34:07 UTC
closing as fixed now
Comment 7 padmar 2006-10-18 18:59:13 UTC
Marking as verified
Comment 8 Marian Mirilovic 2009-11-08 02:31:25 UTC
We recently moved out from Collabnet's infrastructure