diff options
| author | Bruno Baia | 2013-11-19 00:30:36 +0100 | 
|---|---|---|
| committer | Pawel Kozlowski | 2014-03-15 19:41:07 +0100 | 
| commit | b8cc71d476f76ff51e719fb76fb2348027c858ce (patch) | |
| tree | c65b60a2dda24519a108459c404da955f3894bc0 /src/ng | |
| parent | 511422adb08beb6bc33e048a31cb5aaa01408b84 (diff) | |
| download | angular.js-b8cc71d476f76ff51e719fb76fb2348027c858ce.tar.bz2 | |
fix($http): allow sending Blob data using $http
Closes #5012
Diffstat (limited to 'src/ng')
| -rw-r--r-- | src/ng/http.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/ng/http.js b/src/ng/http.js index 0c54f5bb..c7dc64e2 100644 --- a/src/ng/http.js +++ b/src/ng/http.js @@ -103,7 +103,7 @@ function $HttpProvider() {      // transform outgoing request data      transformRequest: [function(d) { -      return isObject(d) && !isFile(d) ? toJson(d) : d; +      return isObject(d) && !isFile(d) && !isBlob(d) ? toJson(d) : d;      }],      // default headers | 
