aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-10-20 15:37:14 +0200
committermousebot <mousebot@riseup.net>2021-10-20 15:37:14 +0200
commit0854bc834d5fe35a241d8dc2339721635de2c00e (patch)
tree2027e8c814c3df3f3c6050e4d150c0e633753a6e /lisp/mastodon-http.el
parentb74f24d483d3f7a478fc93eae21aa8c1e6154e24 (diff)
revert hdurers alist > plist conv in auth.el
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r--lisp/mastodon-http.el6
1 files changed, 0 insertions, 6 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el
index 052218c..bc48e8d 100644
--- a/lisp/mastodon-http.el
+++ b/lisp/mastodon-http.el
@@ -113,12 +113,6 @@ Authorization header is included by default unless UNAUTHENTICED-P is non-nil."
(url-retrieve-synchronously url)
(url-retrieve-synchronously url nil nil mastodon-http--timeout)))))
-(defun mastodon-http--read-file-as-string (filename)
- ""
- (with-temp-buffer
- (insert-file-contents filename)
- (string-to-unibyte (buffer-string))))
-
(defun mastodon-http--get (url)
"Make synchronous GET request to URL.