I'm looking to use goproxy to create a proxy which modifies specific parts of push request:
Modify all multipart data form boundaries to custom values (a new one per request)
Alter the order of headers (currently golang sorts them alphabetically, I am aware that order "shouldn't" matter as the order should not matter according to the HTTP spec but it is something I need.
What would be the best way to handle this? I have already tried modifying the header orders but they get sorted later in the request handling.
My current thought is that it would require a custom RoundTripper/Transport but wanted to look to see if anyone else has tried anything similar.
Hi,
I'm looking to use goproxy to create a proxy which modifies specific parts of push request:
What would be the best way to handle this? I have already tried modifying the header orders but they get sorted later in the request handling.
My current thought is that it would require a custom RoundTripper/Transport but wanted to look to see if anyone else has tried anything similar.