Allow header on success
This commit is contained in:
		
							parent
							
								
									bfb355f89c
								
							
						
					
					
						commit
						8f8e06e661
					
				| 
						 | 
					@ -106,6 +106,7 @@ fn main() -> Result<(), Error> {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    let mut client_body = beresp
 | 
					    let mut client_body = beresp
 | 
				
			||||||
        .clone_without_body()
 | 
					        .clone_without_body()
 | 
				
			||||||
 | 
					        .with_header(header::ALLOW, "GET, HEAD")
 | 
				
			||||||
        .with_content_type(mime::TEXT_HTML_UTF_8)
 | 
					        .with_content_type(mime::TEXT_HTML_UTF_8)
 | 
				
			||||||
        .stream_to_client();
 | 
					        .stream_to_client();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue