{"action":"created","issue":{"url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/171","labels_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/171/comments","events_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/171/events","html_url":"https://github.com/danialfarid/ng-file-upload/issues/171","id":30192480,"number":171,"title":"File uploads broken since 1.2.10","user":{"login":"sorccu","id":32509,"avatar_url":"https://avatars.githubusercontent.com/u/32509?v=3","gravatar_id":"","url":"https://api.github.com/users/sorccu","html_url":"https://github.com/sorccu","followers_url":"https://api.github.com/users/sorccu/followers","following_url":"https://api.github.com/users/sorccu/following{/other_user}","gists_url":"https://api.github.com/users/sorccu/gists{/gist_id}","starred_url":"https://api.github.com/users/sorccu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorccu/subscriptions","organizations_url":"https://api.github.com/users/sorccu/orgs","repos_url":"https://api.github.com/users/sorccu/repos","events_url":"https://api.github.com/users/sorccu/events{/privacy}","received_events_url":"https://api.github.com/users/sorccu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2014-03-26T08:20:03Z","updated_at":"2015-06-16T04:30:10Z","closed_at":"2014-03-26T15:54:27Z","body":"It seems that [this change](https://github.com/danialfarid/angular-file-upload/commit/5a32e271e27354c07ade1ee5518947bf5ca7680e#diff-51a6a7154f0adadb9cbba9bebfd4d68fL95) has broken file uploads in 1.2.10. `$http.defaults.transformRequest` (the effective `config.transformRequest` in 1.2.10) is not suitable for file uploads, whereas `angular.identity` (the effective  `config.transformRequest` in 1.2.9) works. No files get sent and the `Content-Type` reverts to `text/plain;charset=UTF-8`. Was the line perhaps accidentally removed during refactoring?"},"comment":{"url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/comments/112284183","html_url":"https://github.com/danialfarid/ng-file-upload/issues/171#issuecomment-112284183","issue_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/171","id":112284183,"user":{"login":"danialfarid","id":1676054,"avatar_url":"https://avatars.githubusercontent.com/u/1676054?v=3","gravatar_id":"","url":"https://api.github.com/users/danialfarid","html_url":"https://github.com/danialfarid","followers_url":"https://api.github.com/users/danialfarid/followers","following_url":"https://api.github.com/users/danialfarid/following{/other_user}","gists_url":"https://api.github.com/users/danialfarid/gists{/gist_id}","starred_url":"https://api.github.com/users/danialfarid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danialfarid/subscriptions","organizations_url":"https://api.github.com/users/danialfarid/orgs","repos_url":"https://api.github.com/users/danialfarid/repos","events_url":"https://api.github.com/users/danialfarid/events{/privacy}","received_events_url":"https://api.github.com/users/danialfarid/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T04:30:10Z","updated_at":"2015-06-16T04:30:10Z","body":"@ErBahuguna  Create a new issue with more details this is an old closed issue"}}