From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Help understanding the URL code Date: Tue, 05 Apr 2016 18:54:47 +0200 Message-ID: <87y48s3siw.fsf@linux-m68k.org> References: <5703DBB2.1030903@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1459875336 1244 80.91.229.3 (5 Apr 2016 16:55:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Apr 2016 16:55:36 +0000 (UTC) Cc: Emacs developers To: =?utf-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 05 18:55:27 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1anUGC-0007TB-Ou for ged-emacs-devel@m.gmane.org; Tue, 05 Apr 2016 18:55:24 +0200 Original-Received: from localhost ([::1]:38386 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anUG8-0006Rb-Uf for ged-emacs-devel@m.gmane.org; Tue, 05 Apr 2016 12:55:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anUFv-0006Q2-0m for emacs-devel@gnu.org; Tue, 05 Apr 2016 12:55:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anUFr-0005Ym-Hn for emacs-devel@gnu.org; Tue, 05 Apr 2016 12:55:06 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:54695) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anUFr-0005XW-BD for emacs-devel@gnu.org; Tue, 05 Apr 2016 12:55:03 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3qfZhm4hHYz3hjQb; Tue, 5 Apr 2016 18:54:48 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3qfZhm4PY0zvdWd; Tue, 5 Apr 2016 18:54:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id j-y5bYFW5AgC; Tue, 5 Apr 2016 18:54:47 +0200 (CEST) X-Auth-Info: QQIWZY24pO/QLCPHKbQfe9HF2V2N+1qReDoS4aPr28xpzvS6Ngvf/ycKWUb1L7QN Original-Received: from igel.home (ppp-88-217-19-26.dynamic.mnet-online.de [88.217.19.26]) by mail.mnet-online.de (Postfix) with ESMTPA; Tue, 5 Apr 2016 18:54:47 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 993142C006C; Tue, 5 Apr 2016 18:54:47 +0200 (CEST) X-Yow: A GRAM?? A BRAM... A GROOM... A BROOM... Oh, Yeh!! Wash the ROOM!! In-Reply-To: <5703DBB2.1030903@gmail.com> (=?utf-8?Q?=22Cl=C3=A9ment?= Pit--Claudel"'s message of "Tue, 5 Apr 2016 16:37:22 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.18.0.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:202749 Archived-At: Clément Pit--Claudel writes: > +(defcustom url-user-agent nil > + "User Agent used by the URL package for HTTP/HTTPS requests. > +Should be a string not including the \"User-Agent:\", or a > +function of no arguments returning a such string. > +If nil, the value is calculated based on `url-privacy-level'." > :type '(choice (string :tag "A static User-Agent string") > (function :tag "Call a function to get the User-Agent string")) Don't forget to update the :type. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."