NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/56026: MIME type of .tar.xz file on ny{cdn,ftp}.NetBSD.org is invalid



>Number:         56026
>Category:       misc
>Synopsis:       MIME type of .tar.xz file on ny{cdn,ftp}.NetBSD.org is invalid
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 26 16:35:00 +0000 2021
>Originator:     Ryo ONODERA
>Release:        NetBSD 9.99.80
>Organization:
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3
>Environment:
	
	
System: NetBSD brownie 9.99.80 NetBSD 9.99.80 (DTRACE7) #0: Fri Feb 26 15:59:31 JST 2021 ryoon@brownie:/usr/world/9.99/amd64/obj/sys/arch/amd64/compile/DTRACE7 amd64
Architecture: x86_64
Machine: amd64
>Description:
.tar.xz files on ny{cdn,ftp}.NetBSD.org has text/plain as MIME type.
It is obviously incorrect.
I have no idea about correct MIME type, however text/plain is invalid
for these binary files.

$ w3m -dump_head http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/202102250220Z/amd64/binary/sets/base.tar.xz
HTTP/1.1 200 OK
Server: bozohttpd/20190228
Last-Modified: Thu, 25 Feb 2021 05:03:20 GMT
Content-Type: text/plain
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Content-Length: 45929176
Date: Fri, 26 Feb 2021 16:25:11 GMT
Connection: close
X-Served-By: cache-lga21923-LGA, cache-itm18827-ITM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1614356712.615618,VS0,VE333

$ w3m -dump_head http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/202102250220Z/amd64/binary/sets/base.tar.xz
HTTP/1.0 200 OK
Date: Fri, 26 Feb 2021 16:25:54 GMT
Server: bozohttpd/20190228
Accept-Ranges: bytes
Last-Modified: Thu, 25 Feb 2021 05:03:20 GMT
Content-Type: text/plain
Content-Length: 45929176

If MIME type is text/plain, I cannot download .tar.xz files
with pkgsrc/www/w3m web browser by default.
	
>How-To-Repeat:
See Description section.
	
>Fix:
	
I have no idea.

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index