Skip to content

Commit 0395419

Browse files
author
Antonin ENFRUN
committed
documentation
1 parent c54ec1f commit 0395419

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

adafruit_esp32spi/adafruit_esp32spi_wsgiserver.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ def set_interface(iface):
4747

4848

4949
def parse_headers(client):
50+
"""
51+
Parses the header portion of an HTTP request from the socket.
52+
Expects first line of HTTP request to have been read already.
53+
"""
5054
headers = {}
5155
while True:
5256
line = str(client.readline(), "utf-8")

0 commit comments

Comments
 (0)