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
Updating https://github.com/adafruit/Adafruit_CircuitPython_EPD to 2.14.0 from 2.13.6:
  > Merge pull request adafruit/Adafruit_CircuitPython_EPD#92 from adafruit/quad_color

Updating https://github.com/adafruit/Adafruit_CircuitPython_GPS to 3.11.4 from 3.11.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_GPS#117 from adafruit/TheKitty-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_FakeRequests to 1.1.0 from 1.0.18:
  > Merge pull request adafruit/Adafruit_CircuitPython_FakeRequests#10 from FoamyGuy/headers_and_status

Updating https://github.com/adafruit/Adafruit_CircuitPython_FruitJam to 0.5.0 from 0.4.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_FruitJam#6 from FoamyGuy/more_portalbase_stuff

Updating https://github.com/adafruit/Adafruit_CircuitPython_PIOASM to 1.3.5 from 1.3.4:
  > Merge pull request adafruit/Adafruit_CircuitPython_PIOASM#78 from FoamyGuy/update_frequency

Updating https://github.com/adafruit/Adafruit_CircuitPython_PortalBase to 3.2.1 from 3.2.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_PortalBase#112 from FoamyGuy/property_fix
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy