Setting proper content type header.