Set the proper headers.