Major rework of streams.
An Http Response is now written in two phases: - First the headers are written, and then a ResponseWriter is returned once all headers have been written. - A ResponseWriter is basically a wrapper around a NetworkStream which is a streambuf, allowing it to be used with an ostream object - Once a ResponseWriter has been constructed, headers become read-only and can not be written anymore
Showing
Please register or sign in to comment