How to edit raw request (not just the body)

Hi mitmproxy community,

I just installed mitmproxy, seems like a great tool. However, something that is very useful to me when using Burp is being able to edit the entire raw request. Is there a way to do the same using mitmproxy?

Thanks.

In the proposed events you can easily access all the properties you can find here where there are content, cookies, headers, …
You can also reply to client with a response that are in a file.

Thanks for the reply.
I was asking to do that without using the API, directly from the “flow view”.
Anyway, it’s not totally necessary but sometimes has been useful.
I will start using mitmproxy as it is and see if it works for me.

Thanks.