Removed content-type requirement (it doesn't make sense, and this avoids extra logic when dealing with rails)