From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#33002: 26.1; EWW sends unspecific "Accept: */*" header Date: Mon, 13 May 2019 14:08:09 -0400 Message-ID: <87imuew7li.fsf@mouse.gnus.org> References: <838t28eosw.fsf@gnu.org> <83bm6s8hde.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="264423"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 33002@debbugs.gnu.org, winston@ml1.net, Federico Tedin To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 13 20:23:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQFbT-0016ei-3T for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 May 2019 20:23:11 +0200 Original-Received: from localhost ([127.0.0.1]:33156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQFbR-0007Xj-Vl for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 May 2019 14:23:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQFZr-0005hf-Pt for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 14:21:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQFNm-00025o-8h for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 14:09:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60805) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQFNm-00025e-5l for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 14:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hQFNl-00051v-SE for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 14:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 May 2019 18:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33002 X-GNU-PR-Package: emacs Original-Received: via spool by 33002-submit@debbugs.gnu.org id=B33002.155777089819270 (code B ref 33002); Mon, 13 May 2019 18:09:01 +0000 Original-Received: (at 33002) by debbugs.gnu.org; 13 May 2019 18:08:18 +0000 Original-Received: from localhost ([127.0.0.1]:46113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQFN3-00050k-P8 for submit@debbugs.gnu.org; Mon, 13 May 2019 14:08:18 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:43626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQFN1-00050a-UQ for 33002@debbugs.gnu.org; Mon, 13 May 2019 14:08:16 -0400 Original-Received: from [12.41.144.226] (helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hQFMx-0000P0-KD; Mon, 13 May 2019 20:08:14 +0200 In-Reply-To: <83bm6s8hde.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 14 Nov 2018 05:31:25 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159194 Archived-At: Eli Zaretskii writes: >> From: Federico Tedin >> Date: Tue, 13 Nov 2018 18:26:53 -0300 >> Cc: John Smith , 33002@debbugs.gnu.org >> >> Eli, sorry to bother you. Just wanted to know if the last patch I sent >> is OK or if it needs any further changes. > > I still don't think that a variable is the right solution for this. > Perhaps Lars (CC'ed) or someone else has an opinion or a better > proposal? I think it makes sense to use a variable here -- if for no other reason that the string is used two different places in the eww source code, and avoiding repeating that long string is nice. But leaving it undocumented (in the manual) is fine, I think, as I don't see anybody ever wanting to change it. So I've applied Federico's patch to Emacs 27.1. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no