From: Vibhav Pant <vibhavp@gmail.com>
To: "Rüdiger Sonderfeld" <ruediger@c-plusplus.de>
Cc: emacs-devel@gnu.org
Subject: Re: Changing user agent on eww
Date: Sat, 18 Jan 2014 22:32:32 +0530 [thread overview]
Message-ID: <87r485gr8d.fsf@cthulhu-p5kpl.lan> (raw)
In-Reply-To: <16166511.vzeQlYYo3r@descartes>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Rüdiger Sonderfeld writes:
> The function `url-http-user-agent-string' is used to
> create the User-agent string. You should be able to override it, to send
> whatever User-agent string you prefer. Maybe we should add a variable for the
> user agent to make it easier to customize.
I had a look at the function url-http-create-request. The
user-agent string is set by simply calling
url-http-user-agent-string, which in turn concats the "User Agent: URL/"
and the URL package version.
This could be customised by adding a user-defined variable (string)
url-(custom-)user-agent-string, which the user-agent-string could
return. This could be nil by default, in which case the vanila string
would be returned.
If this sounds good, I can create a patch this.
- --
Vibhav Pant
vibhavp@gmail.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAEBCgAGBQJS2rOSAAoJEO86onTybWtcSfQP/RF+6bpn/nG5+l7e0H1V8qQR
1iWwj90yj8mljnnnEGixnezCPvxudR/UIrXgDl0qzP7qUGF94LSzdI4MJGDmHhOV
BYycEIbe2kw1LwzQWX38cSk6LRGaa8Ad5tJu82in8RIn8dU6WysfLEAYXfcDuen8
qa5I3CV1hX+IybrKIQ1wkPM7pQ4FhJW4EsFXTiN1SyIvYRQDit0DUSBuc8/1OVFN
taGfQEa66JG5subZvtyESBPh/SXHEbbq89FG3S1ESMnOhg1d8VwS0TI7pT7iBXwT
J5PwmyTdM45paa6EcXy1ZUI3ru62UuQXIDdVASRWCQuaqH/Xcgh8vlgR8rd3W8nl
KkpGyV2O6BTJ1QEDtP2J4jmPzl4Szh/X1XLCljZKAuqENcusAaK3N5IDT0b2QQCy
DE1kp7h57kp0NthxGDY0hnLmtMYRIt59boVZewg8nhIi/TUnfTQacBtsKb78zZFi
JDSLmAoHHV0r8QMm5hbDskAwWTYYKt76dmnMODKecV4QEVYFL+C1DAvVj1Aur8sK
+v7bjYc4/c0IPCPm+jBDfAvsq4b+NBc7BLDyyHReppOXjmnaEfyHFEyjm40zSbuS
kLFqfzG6dO6By8IDZVDllycejqFwrcmsW7yrJ72vnP8lQZwCT+k84E2yexTd6DzR
yP5ffQXBBZwXnvNlMmeu
=Ewxz
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2014-01-18 17:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-18 13:10 Changing user agent on eww Vibhav Pant
2014-01-18 14:16 ` Rüdiger Sonderfeld
2014-01-18 17:02 ` Vibhav Pant [this message]
2014-01-23 23:52 ` Changing user agent on eww [OT] Trent W. Buck
2014-01-24 1:50 ` Stefan Monnier
2014-01-24 4:27 ` chad
2014-01-24 14:55 ` Richard Stallman
2014-01-24 16:13 ` Stefan Monnier
2014-01-25 13:27 ` Richard Stallman
2014-01-25 21:51 ` Stefan Monnier
2014-01-26 13:47 ` Simon Leinen
2014-01-26 14:35 ` Yuri Khan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r485gr8d.fsf@cthulhu-p5kpl.lan \
--to=vibhavp@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=ruediger@c-plusplus.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.