aboutsummaryrefslogtreecommitdiff
path: root/sx-request.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-01-21 22:26:57 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-01-21 22:26:57 -0200
commit2de9020ac40daedab8ca0df194e8f4eb6ae20478 (patch)
treec3c115652536d101cfff5c5cbb23ec4d948f871b /sx-request.el
parentea97e9b5044156ac68d17b83ac603148940aec3e (diff)
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.
Diffstat (limited to 'sx-request.el')
-rw-r--r--sx-request.el2
1 files changed, 1 insertions, 1 deletions
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)))