[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help understanding the URL code

From: Andreas Schwab
Subject: Re: Help understanding the URL code
Date: Tue, 05 Apr 2016 18:54:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux)

Clément Pit--Claudel <address@hidden> 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 Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]