diff options
| author | James Roper | 2013-09-17 14:24:35 +1000 |
|---|---|---|
| committer | Brian Ford | 2013-10-01 11:28:21 -0700 |
| commit | 0d0330adc24a68cd6891a030a56d3ce3bbced03c (patch) | |
| tree | d204dc986610d78b156cf043252033e6c32189cc /lib/htmlparser | |
| parent | 0ca5426184f6900048588f3d2c2a4a65f9abe248 (diff) | |
| download | angular.js-0d0330adc24a68cd6891a030a56d3ce3bbced03c.tar.bz2 | |
fix($httpBackend): don't send empty string bodies
The `XMLHttpRequest.send` spec defines different semantics for `null`
than for an empty String: an empty String should be sent with a
`Content-Type` of `text/plain`, whereas `null` should have no
`Content-Type` header set.
Closes #2149
Diffstat (limited to 'lib/htmlparser')
0 files changed, 0 insertions, 0 deletions
