emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/hyperdrive e09ead79c4 15/26: Comment: Add FIXME


From: ELPA Syncer
Subject: [nongnu] elpa/hyperdrive e09ead79c4 15/26: Comment: Add FIXME
Date: Fri, 30 Aug 2024 16:00:11 -0400 (EDT)

branch: elpa/hyperdrive
commit e09ead79c46b24e1dfad2868e0578cafdfca1b9e
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>

    Comment: Add FIXME
---
 hyperdrive-lib.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 8b384f6b06..eec3934f10 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -295,6 +295,10 @@ it exists.  Persists ENTRY's hyperdrive.  Invalidates 
ENTRY display."
       (setf (he/size entry)
             (ignore-errors (cl-parse-integer content-length))))
     (when content-type
+      ;; FIXME: `content-type' for 'text/plain' always has 'charset=utf-8',
+      ;; which may not be correct.  Since charset in `hyperdrive-entry-type' is
+      ;; not used anywhere, this should not result in any bugs.  This FIXME can
+      ;; be removed when <https://todo.sr.ht/~ushin/ushin/211> is resolved.
       (setf (he/type entry) content-type))
     (when last-modified
       (setf (he/mtime entry) (encode-time (parse-time-string last-modified))))



reply via email to

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