diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-09 12:22:04 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-09 12:22:04 +0100 |
commit | 596a9498a8dcc2aecb28f94f9ba57766583f5fab (patch) | |
tree | 0703beefb35fce493c6c0553374aa80b5d3d92d8 /lisp/mastodon-http.el | |
parent | d3538d7553557350b7bee1743f5403f69ffd89db (diff) |
--init: handle json or full response and handle Link header
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r-- | lisp/mastodon-http.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el index 5546325..fedbe95 100644 --- a/lisp/mastodon-http.el +++ b/lisp/mastodon-http.el @@ -191,6 +191,7 @@ Return a cons of JSON list and http response headers." (re-search-forward "^$" nil 'move))) (head-list (split-string head-str "\n"))) (mapcar (lambda (x) + ;; FIXME: use dotted notation so alist-get doesn't return a list (split-string x ": ")) head-list))) |