Wykres commitów

8 Commity (49e8a839a003d0e2ebf3eee4204a5be9536036d6)

Autor SHA1 Wiadomość Data
Paul Sokolovsky f29477fea5 uaiohttpclient: Support HTTP reply lines without textual description.
E.g. "HTTP/1.1 500". RFC7230 seems to formally require at least a space
after the numeric code, but it was reported that some software sends
lines like above nonetheless.

Ref: https://github.com/micropython/micropython-lib/issues/247
2018-01-14 11:50:32 +02:00
Paul Sokolovsky 98eb9b8194 uaiohttpclient: Add User-Agent to request, some sites don't like lack of it. 2017-11-26 18:55:16 +02:00
Paul Sokolovsky 0976a44c57 uaiohttpclient: Switch to use StreamWriter.aclose(). 2017-11-26 18:55:11 +02:00
Paul Sokolovsky 2d23c7f125 uaiohttpclient: Only http: protocol is supported, fail predictably for others. 2017-11-26 18:55:06 +02:00
Paul Sokolovsky 16c57c50f4 uaiohttpclient: Add support for redirects. 2017-11-26 18:55:03 +02:00
Paul Sokolovsky 5e1af0f277 uaiohttpclient: Implement support for chunked transfer encoding.
Chunked T-E is mandatory for HTTP/1.1, and thus prerequisite for supporting
it.
2017-11-26 18:54:57 +02:00
Paul Sokolovsky 8c1e077fc0 uaiohttpclient: Use "Connection: close" as workaround for broken HTTP 1.0 servers. 2017-11-26 18:54:39 +02:00
Paul Sokolovsky a9c6c296f0 uaiohttpclient: Initial implementation of the client.
Can do GET requests for URL, nothing more.
2017-11-26 18:53:57 +02:00