6279: Do not set content-length headers in XHR.
authorTom Clegg <tom@curoverse.com>
Fri, 10 Jul 2015 15:18:46 +0000 (11:18 -0400)
committerTom Clegg <tom@curoverse.com>
Fri, 10 Jul 2015 15:18:46 +0000 (11:18 -0400)
commit6929750b2f8f1f0b01b40f0ac516ec5f9e431c4d
tree00e657f99013a98d25a137170c82e7cc6f987f17
parent264391e43f3fa3a73c1c274dd9970963e68b8ace
6279: Do not set content-length headers in XHR.

According to error messages in Chrome console:

Refused to set unsafe header "Content-Length"
  ShellInABox.sendRequest @ shell_in_a_box.js:178
  ShellInABox.onReadyStateChange @ shell_in_a_box.js:206
  (anonymous function) @ shell_in_a_box.js:183
apps/workbench/public/webshell/shell_in_a_box.js