content-type guessing doesn't work