Skip to content

Copy CORS headers when substituting responses#178

Merged
richvdh merged 3 commits intomainfrom
rav/fix_mitmproxy_cors
May 22, 2025
Merged

Copy CORS headers when substituting responses#178
richvdh merged 3 commits intomainfrom
rav/fix_mitmproxy_cors

Conversation

@richvdh
Copy link
Copy Markdown
Member

@richvdh richvdh commented May 20, 2025

... otherwise the client won't be able to read the modified response.

... otherwise the client won't be able to read the modified response.
@richvdh richvdh changed the title Copy CORS headers when subsituting responses Copy CORS headers when substituting responses May 20, 2025
@richvdh richvdh merged commit 495b832 into main May 22, 2025
1 of 4 checks passed
poljar added a commit that referenced this pull request May 23, 2025
@poljar
Copy link
Copy Markdown
Contributor

poljar commented May 23, 2025

Uh oh, this didn't pass CI, can we please refrain from merging things that don't pass the CI?

The failure isn't a fluke and it broke the CI for the Rust SDK as well. Not sure why, but blocking a request doesn't work after this PR anymore.

Posted a PR to revert this here: #183

@richvdh
Copy link
Copy Markdown
Member Author

richvdh commented May 23, 2025

The CI seemed to be basically completely broken, tbh, for reasons I didn't really have the time/energy to investigate.

@poljar
Copy link
Copy Markdown
Contributor

poljar commented May 23, 2025

Well yes, this PR somehow broke request blocking which a bunch of tests depend on.

poljar added a commit that referenced this pull request May 23, 2025
@richvdh
Copy link
Copy Markdown
Member Author

richvdh commented May 23, 2025

Yes, but CI was failing on previous PRs too, so the CI appeared to be effectively useless.

@poljar
Copy link
Copy Markdown
Contributor

poljar commented May 23, 2025

Oh, that's an unfortunate series of failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants