methods for working with headers in the response directly