server sends content with the correct content-type