Skip to content

add headers and status_code to response #10

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

Merged
merged 2 commits into from
Jul 24, 2025

Conversation

FoamyGuy
Copy link
Contributor

These are necessary in order for Fake_Request to work with current version of portalbase because it tries to access both response.headers and resposne.status_code inside of check_response() https://github.com/adafruit/Adafruit_CircuitPython_PortalBase/blob/main/adafruit_portalbase/network.py#L581

Also added parameter docstrings for new and existing args.

@FoamyGuy
Copy link
Contributor Author

This resolves: adafruit/Adafruit_CircuitPython_PortalBase#58

@FoamyGuy FoamyGuy requested a review from a team July 24, 2025 16:25
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Thanks!

@tannewt tannewt merged commit 020121e into adafruit:main Jul 24, 2025
1 check passed
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jul 29, 2025
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.

2 participants