feat(http): Implement Debug for HttpReader/Writer.
Also derives it for Responses, since that's easy now.
This commit is contained in:
@@ -15,6 +15,7 @@ use net::{Fresh, Streaming};
|
||||
use version;
|
||||
|
||||
/// The outgoing half for a Tcp connection, created by a `Server` and given to a `Handler`.
|
||||
#[derive(Debug)]
|
||||
pub struct Response<'a, W = Fresh> {
|
||||
/// The HTTP version of this response.
|
||||
pub version: version::HttpVersion,
|
||||
|
||||
Reference in New Issue
Block a user