bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#526: Emacs 22, url package, problems with cache


From: Alexander Pohoyda
Subject: bug#526: Emacs 22, url package, problems with cache
Date: Thu, 03 Jul 2008 12:25:36 +0200

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









reply via email to

[Prev in Thread] Current Thread [Next in Thread]