Skip to content

WSGI Server example fails trying to import parse_headers #62

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

Closed
siddacious opened this issue Jul 31, 2019 · 1 comment
Closed

WSGI Server example fails trying to import parse_headers #62

siddacious opened this issue Jul 31, 2019 · 1 comment

Comments

@siddacious
Copy link
Contributor

>>> import server_test
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "server_test.py", line 9, in <module>
  File "adafruit_esp32spi/adafruit_esp32spi_wsgiserver.py", line 53, in <module>
ImportError: cannot import name parse_headers

there is no parse_headers in adafruit_requests, it was inlined into the body of the request method

@siddacious
Copy link
Contributor Author

siddacious commented Jul 31, 2019

Fixed, thanks to @brentru

@brentru brentru closed this as completed Aug 19, 2019
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

No branches or pull requests

2 participants