roe.ac.uk - .fits.gz file served as text/plain, displays binary stuff

RESOLVED FIXED

Status

RESOLVED FIXED
17 years ago
3 years ago

People

(Reporter: devotip, Unassigned)

Tracking

Details

(Whiteboard: [MIME-gz] [bug248549notfixed], URL)

(Reporter)

Description

17 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.9+) Gecko/20020418
BuildID:    2002041803

Reproducible: Always
Steps to Reproduce:
1.open url
2.click "gzipped FITS image"

Actual Results:  binary stuff displayed

Expected Results:  save as dialog
the server sends a wrong mime type (text/plain).Mozilla knows Text/plain and
tries to render it.


--18:41:03--  http://www-wfau.roe.ac.uk/%7Esss/hablock/HAL0845block.fits.gz
           => `HAL0845block.fits.gz'
Resolving www-wfau.roe.ac.uk... done.
Connecting to www-wfau.roe.ac.uk[195.194.120.126]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9,867,590 [text/plain]

-> TE
Assignee: Matti → nitot
Status: UNCONFIRMED → NEW
Component: Browser-General → Europe: West
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: imajes-qa → caillon
Version: other → unspecified

Comment 2

16 years ago
Possible contact addresses are mar@roe.ac.uk, bdk@roe.ac.uk, or N.Hambly@roe.ac.uk

A file named [foo].fits.gz should be sent as image/fits or with content-encoding
x-gzip, or as application/x-gzip with no encoding. Some sites recommend using
image/x-gfits with no encoding, but that is not part of the submitted standard.

See http://www.google.com/search?q=FITS+image+mime+OR+content-type

% curl -I http://www-wfau.roe.ac.uk/~sss/hablock/HAL0845block.fits.gz
HTTP/1.1 200 OK
Date: Sun, 30 Mar 2003 11:54:00 GMT
Server: Apache/1.3.26 (Unix) PHP/4.2.2
Last-Modified: Fri, 22 Feb 2002 15:38:27 GMT
ETag: "5a612f-969146-3c7665f3"
Accept-Ranges: bytes
Content-Length: 9867590
Content-Type: text/plain
Content-Encoding: x-gzip

See also bug 191000
OS: Windows 98 → All
Hardware: PC → All
Summary: link displays binary stuff instead of save as dialog → roe.ac.uk - .fits.gz file served as text/plain, displays binary stuff
Whiteboard: [MIME-gz]

Comment 3

15 years ago
tech evang june 2003 reorg
Assignee: nitot → english-other
Component: Europe: West → English Other
QA Contact: z-caillon-obsolete2 → english-other
Whiteboard: [MIME-gz] → [MIME-gz] [bug248549notfixed]

Comment 4

10 years ago
Site no longer exists
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.