Skip to content

Instantly share code, notes, and snippets.

@NeoTeo
Created March 2, 2017 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NeoTeo/e93d56bb36efd9c101831f89f96c32ce to your computer and use it in GitHub Desktop.
Save NeoTeo/e93d56bb36efd9c101831f89f96c32ce to your computer and use it in GitHub Desktop.
Wireshark dump
POST /api/v0/add?stream-channels=true HTTP/1.1
Host: 127.0.0.1:5001
Content-Type: multipart/form-data; boundary=vbNQlQuZdKfTjjtbZJkz7mw01rFSC9aI
Transfer-Encoding: Chunked
Accept: */*
User-Agent: Swift IPFS Client
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Connection: keep-alive
A00
--vbNQlQuZdKfTjjtbZJkz7mw01rFSC9aI
content-disposition: file; filename="/Users/teo/tmp/ipfssized.txt";
content-type: application/octet-stream
content-transfer-encoding: binary
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it
A00
possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high.
--vbNQlQuZdKfTjjtbZJkz7mw01rFSC9aI
co
A00
ntent-disposition: file; filename="/Users/teo/tmp/ipfssized-2.txt";
content-type: application/octet-stream
content-transfer-encoding: binary
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes
9DC
of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.
HTTP is inefficient and expensive
HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. With video delivery, a P2P approach could save 60% in bandwidth costs.
IPFS makes it possible to distribute high.
--vbNQlQuZdKfTjjtbZJkz7mw01rFSC9aI--
0
HTTP/1.1 200 OK
Access-Control-Allow-Headers: X-Stream-Output, X-Chunked-Output, X-Content-Length
Access-Control-Expose-Headers: X-Stream-Output, X-Chunked-Output, X-Content-Length
Content-Type: application/json
Server: go-ipfs/0.4.6-dev
Trailer: X-Stream-Error
Vary: Origin
X-Chunked-Output: 1
Date: Thu, 02 Mar 2017 17:44:22 GMT
Transfer-Encoding: chunked
60
{"Name":"/Users/teo/tmp/ipfssized.txt","Hash":"QmUwDoyhv8Sr9sCt2uYgwHs3LcPcZwcqMwQ57C7YJV5SGG"}
0
X-Stream-Error: multipart: Part Read: http: invalid Read on closed Body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment