GNU bug report logs - #16498
24.3.50; Support for custom user agents in url.el

Previous Next

Package: emacs;

Reported by: Vibhav Pant <vibhavp <at> ubuntu.com>

Date: Sun, 19 Jan 2014 18:47:02 UTC

Severity: wishlist

Found in version 24.3.50

Done: Ted Zlatanov <tzz <at> lifelogs.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ted Zlatanov <tzz <at> lifelogs.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#16498: closed (24.3.50; Support for custom user agents in url.el)
Date: Wed, 05 Nov 2014 16:10:04 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 05 Nov 2014 11:09:06 -0500
with message-id <8761et1vfh.fsf <at> lifelogs.com>
and subject line Re: bug#16498: 24.3.50; Support for custom user agents in url.el
has caused the debbugs.gnu.org bug report #16498,
regarding 24.3.50; Support for custom user agents in url.el
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
16498: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16498
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Vibhav Pant <vibhavp <at> ubuntu.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; Support for custom user agents in url.el
Date: Sun, 19 Jan 2014 21:21:43 +0530
[Message part 3 (text/plain, inline)]
URL currently doesn't support custom user agents. This could be
implemented by adding a defcustom string url-user-agent which could be
changed by the
user.
The default value could be:
(format "User-Agent: %sURL/%s\r\n"
         (if url-package-name
         (concat url-package-name "/" url-package-version " ")
         "") url-version)

I have attached a patch to add support for custom user agents in URL.

-- 
Vibhav Pant
vibhavp <at> gmail.com
[url-custom-user-agent.patch (text/x-patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Ted Zlatanov <tzz <at> lifelogs.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 16498-done <at> debbugs.gnu.org, Vibhav Pant <vibhavp <at> ubuntu.com>
Subject: Re: bug#16498: 24.3.50; Support for custom user agents in url.el
Date: Wed, 05 Nov 2014 11:09:06 -0500
On Wed, 05 Nov 2014 10:27:50 -0500 Stefan Monnier <monnier <at> iro.umontreal.ca> wrote: 

VP> I have attached a patch to add support for custom user agents in URL.
TZ> I think this makes sense, but it has to wait until after the feature
TZ> freeze.
>> Stefan, can you please look at this patch?

SM> I haven't looked in detail, but I'm all in favor of such a feature in trunk.

I added it (with an option to use a function call); marking this as
done and I hope you find it useful.

Ted


This bug report was last modified 10 years and 195 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.