File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -911,12 +911,16 @@ impl MainHandler {
911911 resp. headers
912912 . set_raw ( "content-type" , vec ! [ mime. to_string( ) . into_bytes( ) ] ) ;
913913 if self . coop {
914- resp. headers
915- . set_raw ( "Cross-Origin-Opener-Policy" , vec ! [ "same-origin" . to_string( ) . into_bytes( ) ] ) ;
914+ resp. headers . set_raw (
915+ "Cross-Origin-Opener-Policy" ,
916+ vec ! [ "same-origin" . to_string( ) . into_bytes( ) ] ,
917+ ) ;
916918 }
917919 if self . coep {
918- resp. headers
919- . set_raw ( "Cross-Origin-Embedder-Policy" , vec ! [ "require-corp" . to_string( ) . into_bytes( ) ] ) ;
920+ resp. headers . set_raw (
921+ "Cross-Origin-Embedder-Policy" ,
922+ vec ! [ "require-corp" . to_string( ) . into_bytes( ) ] ,
923+ ) ;
920924 }
921925 if self . range {
922926 let mut range = req. headers . get :: < Range > ( ) ;
You can’t perform that action at this time.
0 commit comments