03 api.relay(method, url, headers = {}, body = '') (2/2)

- Non-2xx upstream statuses are not errors. Check r.status.
- TLS is encrypted, but the server certificate is not verified (the reader has no CA bundle). Don't rely on it against an active attacker on your network.
- Requests are slow (a TLS handshake on a small chip), and the reader handles one at a time. Don't fire many in parallel.
‹ PreviousReader file (.txt)Next ›