branch: elpa/hyperdrive
commit e09ead79c46b24e1dfad2868e0578cafdfca1b9e
Author: Joseph Turner <[email protected]>
Commit: Joseph Turner <[email protected]>

    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