File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -402,7 +402,7 @@ impl<P: PartProps> FormParts<P> {
402
402
}
403
403
404
404
// If predictable, computes the length the request will have
405
- // The length should be preditable if only String and file fields have been added,
405
+ // The length should be predictable if only String and file fields have been added,
406
406
// but not if a generic reader has been added;
407
407
pub ( crate ) fn compute_length ( & mut self ) -> Option < u64 > {
408
408
let mut length = 0u64 ;
Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ async fn test_redirect_limit_to_1() {
403
403
. build ( )
404
404
. unwrap ( ) ;
405
405
let res = client. get ( & url) . send ( ) . await . unwrap_err ( ) ;
406
- // If the maxmium limit is 1, then the final uri should be /redirect/1
406
+ // If the maximum limit is 1, then the final uri should be /redirect/1
407
407
assert_eq ! (
408
408
res. url( ) . unwrap( ) . as_str( ) ,
409
409
format!( "http://{}/redirect/1" , server. addr( ) ) . as_str( )
You can’t perform that action at this time.
0 commit comments