Allow responses of HEAD requests to have empty DATA frames (#490)
This commit is contained in:
		| @@ -286,7 +286,11 @@ impl Stream { | ||||
|                 Some(val) => *rem = val, | ||||
|                 None => return Err(()), | ||||
|             }, | ||||
|             ContentLength::Head => return Err(()), | ||||
|             ContentLength::Head => { | ||||
|                 if len != 0 { | ||||
|                     return Err(()); | ||||
|                 } | ||||
|             } | ||||
|             _ => {} | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user