http-body icon indicating copy to clipboard operation
http-body copied to clipboard

Empty's Body impl `Error = Infallible` makes `Empty::new()` unable to be used w/ Body constraints

Open juliusl opened this issue 9 months ago • 0 comments

Empty has generic parameter for Data, so it would be nice to have a generic parameter for Error as well so that Empty::new() can be used w/ functions that set constraints on Body i.e B: Body<Error=..>

juliusl avatar May 07 '24 04:05 juliusl