common request/response classes for web frameworks