Allow the "Accept" header to be set and override default behavior.