diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-02-26 23:02:20 -0300 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-02-26 23:02:20 -0300 |
commit | be15643b64b64e5fcbcdc213c90a5fa9cd41e9df (patch) | |
tree | c0ad93572654e164ffe3b0ca90c6a80e1ac4c96e /sx-request.el | |
parent | a746338150587a400a0fc09a7607341ac10a5159 (diff) | |
parent | cd72f5f03dcc3490318920ef95fc09b07ae900da (diff) |
Merge branch 'master' into handle-html-tags
Diffstat (limited to 'sx-request.el')
-rw-r--r-- | sx-request.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-request.el b/sx-request.el index 7f18a2b..d7fd058 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))) |