[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Library defaults
From: |
Ted Zlatanov |
Subject: |
Re: Library defaults |
Date: |
Thu, 26 Jan 2017 18:03:54 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
On Sun, 22 Jan 2017 00:19:23 +0100 Lars Ingebrigtsen <address@hidden> wrote:
LI> Controlling things like cookies and caching is an application-level
LI> thing and not a library level thing (i.e., a browser like eww should
LI> allow the user to control whether to send cookies or not; not a global
LI> setting that affects the lower-level library).
LI> But still, nice defaults in a low-level library is also nice.
...
LI> So it's really: Make the defaults developer-friendly or source code
LI> friendly? Because all calls from applications will end up looking like
LI> (with-url ("http..." :cookies t
LI> :cache t
LI> :verbose 0)
LI> ...)
I think Michael Albinus' work with per-connection profiles/variables is
useful here. I plan to use it with GnuTLS[1], at least, and I think it
could be useful here as well.
Ted
[1] insert pithy footnote about time management