NetBSD Problem Report #56908
From www@netbsd.org Sat Jul 2 16:12:49 2022
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 1BFBC1A9239
for <gnats-bugs@gnats.NetBSD.org>; Sat, 2 Jul 2022 16:12:49 +0000 (UTC)
Message-Id: <20220702161247.B7D421A923A@mollari.NetBSD.org>
Date: Sat, 2 Jul 2022 16:12:47 +0000 (UTC)
From: mydeardiary@sdf.org
Reply-To: mydeardiary@sdf.org
To: gnats-bugs@NetBSD.org
Subject: links: enable brotli support
X-Send-Pr-Version: www-1.0
>Number: 56908
>Category: pkg
>Synopsis: links: enable brotli support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sat Jul 02 16:15:00 +0000 2022
>Last-Modified: Sat Jul 02 16:19:16 +0000 2022
>Originator: My Dear Diary
>Release: 9.1
>Organization:
SDF users
>Environment:
NetBSD rie 9.1 NetBSD 9.1 (GENERIC) #0: Sun Oct 18 19:24:30 UTC 2020 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
brotli is a new compression algorithm capable of compressing web pages. Most of pages served by cloudflare will be compressed with brotli if the client sends Accept-Encoding: br
Links-browser has the capability of displaying brotli compressed web pages if linked with brotli.
>How-To-Repeat:
Just view the browser request header.
1. On a terminal, start nc with empty http response, i.e. `printf "HTTP/1.1 200 OK\r\n\r\n" | nc -l 9000`
2. On another terminal, launch links and open http://localhost:9000
3. Notice that there is no br string in the Accept-Encoding field.
>Fix:
Add brotli/librotli as dependency for links package.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: port-amd64-maintainer->pkg-manager
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Sat, 02 Jul 2022 16:19:16 +0000
Responsible-Changed-Why:
not amd64 specific
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.