http_proto
http_proto copied to clipboard
serializer should provide an interface to capture and cache HTTP responses
This is useful when a server wants to cache static responses specially when they need compression.
I dont know if serializer should provide that API but we need to determine if it is possible to write this function:
template< class Body >
std::string
serialize( serializer& sr, Body&& body );
given the current API. I think this should go into an example.