feat(headers): header ergonomics
- Reexports all common::* as header::* - Most headers implement Deref where it makes sense. Closes #156
This commit is contained in:
		| @@ -134,7 +134,7 @@ impl Request<Fresh> { | ||||
|                 match self.headers.get::<common::ContentLength>() { | ||||
|                     Some(cl) => { | ||||
|                         chunked = false; | ||||
|                         len = cl.len(); | ||||
|                         len = **cl; | ||||
|                     }, | ||||
|                     None => () | ||||
|                 }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user