Re: JPEG-XL as Content-Encoding?

--------
Dmitri Tikhonov writes:

> I subscribe here as well.  In my mind, the way to switch the response
> from JPEG to JPXL is as follows:
>
>     Request:
>
>         GET /image.jpg
>         Accept: image/jpxl
>
>     Response:
>
>         OK...
>         Content-Type: image/jpxl
>         Vary: accept
>
> If 'Accept' does not specify image/jpxl, the server returns the original
> JPEG image.  Note that there is still the white lie of the image's .jpg
> extension, but this lie is smaller than the much more elaborate dance
> with the Content-Encoding.

Agreed.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

Received on Thursday, 20 August 2020 21:51:32 UTC