NetBSD-Bugs archive

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

misc/57448: Wrong Content-Type for ISO files on archive.netbsd.org



>Number:         57448
>Category:       misc
>Synopsis:       Wrong Content-Type for ISO files on archive.netbsd.org
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 02 18:35:00 +0000 2023
>Originator:     Pino Toscano
>Release:        n/a
>Organization:
Red Hat
>Environment:
n/a
>Description:
The Content-Type header reported for ISO files hosted on archive.netbsd.org is wrongly reported as "text/plain" (ISO files are definitely not a text format). On cdn.netbsd.org, ISO files have "application/octet-stream" as Content-Type, which is a bit generic, but still OK.

This can be seen e.g. with curl (trying with two random ISOs, one on cdn.netbsd.org and the other on archive.netbsd.org):

$ curl --head -L 'https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.0/amd64/installation/cdrom/boot.iso'
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 225648640
Server: bozohttpd/20210227
Last-Modified: Fri, 14 Feb 2020 08:59:41 GMT
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Date: Fri, 02 Jun 2023 18:15:13 GMT
Age: 0
X-Served-By: cache-sjc10022-SJC, cache-atl18478-ATL
X-Cache: HIT, MISS
X-Cache-Hits: 1, 0
X-Timer: S1685729714.740474,VS0,VE66
Content-Type: application/octet-stream
 
$ curl --head -L 'https://archive.netbsd.org/pub/NetBSD-archive/NetBSD-7.2/amd64/installation/cdrom/boot.iso'
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 95555584
Server: bozohttpd/20190228
Last-Modified: Wed, 29 Aug 2018 19:45:56 GMT
Content-Type: text/plain
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Date: Fri, 02 Jun 2023 18:15:16 GMT
Age: 0
X-Served-By: cache-ams21069-AMS, cache-atl18496-ATL
X-Cache: HIT, MISS
X-Cache-Hits: 6, 0
X-Timer: S1685729716.415128,VS0,VE214
>How-To-Repeat:
See the above description.
>Fix:



Home | Main Index | Thread Index | Old Index