Reverts 4069766c527d10b8e25b9262a3882101367deb3e: originally had HEAD, then changed to GET. Possibly try HEAD and then GET if bad method? Test cases needed.