juniper icon indicating copy to clipboard operation
juniper copied to clipboard

Add support for `Request<T>` where `T` is a type that implements `hyper::body::Body` trait

Open elcharitas opened this issue 8 months ago • 1 comments

Should resolve #1102

Problem

Attempts to use any other hyper request type aside Request<hyper::body::Incoming> fails with a compile-time error of type mismatch

Solution

Add generic support for valid supported hyper Request or any custom Request that has a body which implements hyper::body::Body

Checklist

  • [x] ~Tests are added~ (not required)
  • [x] CHANGELOG entry is added
  • [x] ~Documentation is updated~ (not required)

elcharitas avatar Jun 15 '24 12:06 elcharitas