all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#526: Emacs 22, url package, problems with cache
@ 2008-07-03 10:25 Alexander Pohoyda
  2008-07-07 12:36 ` Magnus Henoch
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alexander Pohoyda @ 2008-07-03 10:25 UTC (permalink / raw
  To: bug-gnu-emacs

The url-automatic-caching variable is nil by default, so cache is not written (even the cache directory is not created).  However, if I manually provide "If-Modified-Since" header in HTTP request and the server responds with "Not Modified 304", the cache file is expected to exists and is accessed -- which leads to error.

Possible solution -- before accessing the cache file, check whether it exists (url-is-cached).
Alternatively, do not expect a cache to exist if url-automatic-caching is set to nil.

-- 
Alexander Pohoyda <alexander.pohoyda@gmx.net>
PGP Key fingerprint:
7F C9 CC 5A 75 CD 89 72  15 54 5F 62 20 23 C6 44









^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-11 17:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-03 10:25 bug#526: Emacs 22, url package, problems with cache Alexander Pohoyda
2008-07-07 12:36 ` Magnus Henoch
2008-07-07 12:45   ` Processed: " Emacs bug Tracking System
2011-07-22 14:04 ` Julien Danjou
2011-09-11 17:11 ` Lars Magne Ingebrigtsen

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.