Monorepo for Wisp.place. A static site hosting service built on top of the AT Protocol.
1use http::Request; 2 3fn main() { 4 let builder = Request::builder() 5 .header(http::header::CONTENT_TYPE, "*/*") 6 .header(http::header::CONTENT_TYPE, "application/octet-stream"); 7 8 let req = builder.body(()).unwrap(); 9 10 println!("Content-Type headers:"); 11 for value in req.headers().get_all(http::header::CONTENT_TYPE) { 12 println!(" {:?}", value); 13 } 14}