You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make a proxy but where a user could modify and replay some previously received requests. The problem is that i can't figure out a way to convert the plain http request i have (in str object) to Request.
I'm fairly new to Rust so i might miss something but i've searched a lot and couldn't find how to.
To be precise, i've looked into httparse lib but still failed for some of the fields to build the Request object.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm trying to make a proxy but where a user could modify and replay some previously received requests. The problem is that i can't figure out a way to convert the plain http request i have (in str object) to Request.
I'm fairly new to Rust so i might miss something but i've searched a lot and couldn't find how to.
To be precise, i've looked into httparse lib but still failed for some of the fields to build the Request object.
Beta Was this translation helpful? Give feedback.
All reactions