Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Support for gzip-compressed responses #13

@Lekensteyn

Description

@Lekensteyn

It would be nice if there was an option to force decompression of gzipped responses.

Example URL and its response:
http://ftp.nl.debian.org/debian/dists/jessie/contrib/Contents-amd64.gz

HTTP/1.1 200 OK
Date: Tue, 11 Aug 2015 14:50:59 GMT
Server: Apache/2.2.22 (Debian)
Last-Modified: Sat, 06 Jun 2015 10:42:04 GMT
ETag: "8b20181-15b30-517d70f339700"
Accept-Ranges: bytes
Content-Length: 88880
Content-Type: application/x-gzip

Forcing a Content-Encoding: gzip response header could help (in addition to setting Content-Type: text/plain).

This feature was also requested in a Review for Open in Browser by megabyte.
Firefox issue that could affect a possible implementation: Bug 52282 - (ftp:// or file://) suffixes like (.gz) are Content-Encoding (not Content-Type) [decode and display .gz file]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions