From 2de9020ac40daedab8ca0df194e8f4eb6ae20478 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Wed, 21 Jan 2015 22:26:57 -0200 Subject: Fix the universe and make the world right again. Amongst other things, this should put an end to whale hunting, malaria, and issues such as #238, #209 and #206. --- sx-request.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sx-request.el') diff --git a/sx-request.el b/sx-request.el index 2650c55..8f672ec 100644 --- a/sx-request.el +++ b/sx-request.el @@ -160,7 +160,7 @@ the main content of the response is returned." (url-inhibit-uncompression t) (url-request-data (sx-request--build-keyword-arguments args nil)) (request-url (concat sx-request-api-root method)) - (url-request-method (and request-method (symbol-name request-method))) + (url-request-method (and request-method (upcase (symbol-name request-method)))) (url-request-extra-headers '(("Content-Type" . "application/x-www-form-urlencoded"))) (response-buffer (url-retrieve-synchronously request-url))) -- cgit v1.2.3