angular/angular.js — pull request #9555 by brocksamson (2014-10-10 15:50:49+00:00)
Title: fix($http): don't run transformData on HEAD methods

7b6c1d0 indadvertantly created this issue by using Content-Type to
determine when to run fromJson. Because HEAD methods do not contain
a body but are supposed to return the Content-Type header that would
have been returned if it was a GET this created a bug in HEAD requests.