get content-type working