@@ -419,12 +419,28 @@ impl Client {
419419 let response = match method. to_lowercase ( ) . as_str ( ) {
420420 "get" => self . impit . get ( url, Some ( body. into ( ) ) , Some ( options) ) . await ,
421421 "post" => self . impit . post ( url, Some ( body. into ( ) ) , Some ( options) ) . await ,
422- "patch" => self . impit . patch ( url, Some ( body. into ( ) ) , Some ( options) ) . await ,
422+ "patch" => {
423+ self . impit
424+ . patch ( url, Some ( body. into ( ) ) , Some ( options) )
425+ . await
426+ }
423427 "put" => self . impit . put ( url, Some ( body. into ( ) ) , Some ( options) ) . await ,
424- "options" => self . impit . options ( url, Some ( body. into ( ) ) , Some ( options) ) . await ,
425- "trace" => self . impit . trace ( url, Some ( body. into ( ) ) , Some ( options) ) . await ,
428+ "options" => {
429+ self . impit
430+ . options ( url, Some ( body. into ( ) ) , Some ( options) )
431+ . await
432+ }
433+ "trace" => {
434+ self . impit
435+ . trace ( url, Some ( body. into ( ) ) , Some ( options) )
436+ . await
437+ }
426438 "head" => self . impit . head ( url, Some ( body. into ( ) ) , Some ( options) ) . await ,
427- "delete" => self . impit . delete ( url, Some ( body. into ( ) ) , Some ( options) ) . await ,
439+ "delete" => {
440+ self . impit
441+ . delete ( url, Some ( body. into ( ) ) , Some ( options) )
442+ . await
443+ }
428444 _ => Err ( ImpitError :: InvalidMethod ( method. to_string ( ) ) ) ,
429445 } ;
430446
0 commit comments