[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Take Emacs and package versions into account in URL's, User-Agen
[PATCH] Take Emacs and package versions into account in URL's, User-Agent string
Fri, 15 Apr 2016 13:12:13 -0400
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
Here's a copy of the patch discussed in the "Help understanding the URL code"
The current implementation of url reads `url-package-name' and
`url-package-version' into account only when url-vars.el is loaded, and never
after that; this patch makes it take them into account in all cases. This
allows packages to adjust User-Agent strings when making URL requests. It also
adds the current Emacs version to the User-Agent string.
This is essentially a bug fix: at the moment, these two variables don't behave
Let me know if there's anything I should to to improve this patch!
Description: Text document
Description: OpenPGP digital signature
|[Prev in Thread]
||[Next in Thread]|
- [PATCH] Take Emacs and package versions into account in URL's, User-Agent string,
Clément Pit--Claudel <=