Skip to content

Commit

Permalink
fix(browser): do not send "content-length" header (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
endel authored and lukeed committed May 24, 2019
1 parent 7d606af commit 60f0848
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export function send(method, uri, opts) {
headers['content-type'] = 'application/json';
str = JSON.stringify(str);
}
headers['content-length'] = str.length;
}

for (k in headers) {
Expand Down

0 comments on commit 60f0848

Please sign in to comment.