Miscellaneous fixes and test updates for all the other changes
- http::LINE_ENDING is now an &'static str
This commit is contained in:
		| @@ -107,7 +107,7 @@ impl<'a> Response<'a, Fresh> { | ||||
|         debug!("headers [\n{}]", self.headers); | ||||
|         try!(write!(&mut self.body, "{}", self.headers)); | ||||
|  | ||||
|         try!(self.body.write(LINE_ENDING)); | ||||
|         try!(self.body.write_str(LINE_ENDING)); | ||||
|  | ||||
|         let stream = if chunked { | ||||
|             ChunkedWriter(self.body.unwrap()) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user