Added date header to response
Refactored request and response header attribute assignments