aboutsummaryrefslogtreecommitdiff
path: root/sx-request.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 15:07:08 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-02-12 15:07:08 -0200
commit07dbdbad69dd502abc209bd38aabdf5204bc65f7 (patch)
tree08e4720a340a8334b88e6e22d4ab75805a9c11b9 /sx-request.el
parent6f83f1ef10f1316b489eba926aebecb51f37a6e7 (diff)
parent2c7e276ebcd06616362b9710ca45c2e48641adcf (diff)
Merge branch 'master' into tag-buttons
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)))