Skip to content

Instantly share code, notes, and snippets.

View sam016's full-sized avatar
🎯
Focusing

sam016

🎯
Focusing
View GitHub Profile
@jaylandro
jaylandro / geoip.sh
Created September 25, 2020 03:38
Get GeoIp details w/ CURL
curl ifconfig.co/json | jq
curl ifconfig.co/json | json_pp
@CMCDragonkai
CMCDragonkai / http_streaming.md
Last active April 25, 2024 17:19
HTTP Streaming (or Chunked vs Store & Forward)

HTTP Streaming (or Chunked vs Store & Forward)

The standard way of understanding the HTTP protocol is via the request reply pattern. Each HTTP transaction consists of a finitely bounded HTTP request and a finitely bounded HTTP response.

However it's also possible for both parts of an HTTP 1.1 transaction to stream their possibly infinitely bounded data. The advantages is that the sender can send data that is beyond the sender's memory limit, and the receiver can act on