Skip to content

Conversation

@injust
Copy link
Contributor

@injust injust commented Jun 4, 2025

Description

Move almost all functions in mitmproxy.optmanager into OptManager methods. I left parse and relative_path as-is because they don't operate on an OptManager instance.

Checklist

  • I have updated tests where applicable.
  • I have added an entry to the CHANGELOG.

closes #7753

@injust
Copy link
Contributor Author

injust commented Jun 4, 2025

Sorry the diff is annoying to review, even with whitespace changes hidden 😦

I grepped for optmanager.foo, so this should catch all usages.

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.

Convert mitmproxy.optmanager functions into OptManager methods

1 participant