In src/backend.rs the request is (mostly) hard coded. We should honor what the client is sending in.
One of the things I was thinking of was "Why are we parsing a request and then serializing that same request back"? One of the reasons we might want to do that is if we allow modification of the incoming request, such as adding or modifying header. Even in that case, we might decide modify the bytes.
In
src/backend.rs
the request is (mostly) hard coded. We should honor what the client is sending in.One of the things I was thinking of was "Why are we parsing a request and then serializing that same request back"? One of the reasons we might want to do that is if we allow modification of the incoming request, such as adding or modifying header. Even in that case, we might decide modify the bytes.