better specs for request and response