Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove status_code addon #106

Merged
merged 4 commits into from
Jul 5, 2024
Merged

Remove status_code addon #106

merged 4 commits into from
Jul 5, 2024

Conversation

kegsay
Copy link
Member

@kegsay kegsay commented Jul 5, 2024

Use callback addon instead.

Also update README with HTTP API docs for the callback addon.

This obsoletes #8
This fixes #7

@kegsay kegsay requested a review from richvdh July 5, 2024 15:06
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems plausible

Comment on lines 80 to 81
response_body: { some json object },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are they necessarily JSON? What if, say, the intercepted request was for a piece of media?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has to be JSON currently as I call flow.response.json() to populate response_body. If/when we want to use complement-crypto with media, we can revisit this.

@kegsay kegsay merged commit 8a00917 into main Jul 5, 2024
4 checks passed
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.

More documentation for MITM options
2 participants