diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-03-05 00:34:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-05 00:34:20 +0100 |
commit | b9b17570065273fe3e023a8c8633188379ad6603 (patch) | |
tree | 702d65c19aa860236fe7b88a643b03061a9d6062 /devtools/client/shared/curl.js | |
parent | 05b5c72bb4b3807c463befc46cdea65c56e3aa02 (diff) | |
parent | 25b78dfa6ed9da1f918d731ae8da9469d7b65a26 (diff) | |
download | UXP-b9b17570065273fe3e023a8c8633188379ad6603.tar UXP-b9b17570065273fe3e023a8c8633188379ad6603.tar.gz UXP-b9b17570065273fe3e023a8c8633188379ad6603.tar.lz UXP-b9b17570065273fe3e023a8c8633188379ad6603.tar.xz UXP-b9b17570065273fe3e023a8c8633188379ad6603.zip |
Merge pull request #46 from janekptacijarabaci/devtools_network_curl_1
Copy as cURL (PATCH)
Diffstat (limited to 'devtools/client/shared/curl.js')
-rw-r--r-- | devtools/client/shared/curl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/client/shared/curl.js b/devtools/client/shared/curl.js index 45122be37..420fe6aa5 100644 --- a/devtools/client/shared/curl.js +++ b/devtools/client/shared/curl.js @@ -77,7 +77,7 @@ const Curl = { // Create post data. let postData = []; if (utils.isUrlEncodedRequest(data) || - ["PUT", "POST"].includes(data.method)) { + ["PUT", "POST", "PATCH"].includes(data.method)) { postDataText = data.postDataText; postData.push("--data"); postData.push(escapeString(utils.writePostDataTextParams(postDataText))); |