Skip to content

Instantly share code, notes, and snippets.

@mustafaileri
Created December 20, 2016 21:03
Show Gist options
  • Save mustafaileri/3e25ed4cdcf9bfaa42dee74a82c72b90 to your computer and use it in GitHub Desktop.
Save mustafaileri/3e25ed4cdcf9bfaa42dee74a82c72b90 to your computer and use it in GitHub Desktop.
POST /example/application HTTP/1.1
Host: example.org
Content-Type: multipart/batch;
type="application/http;version=1.1";
boundary=batch
Mime-Version: 1.0
--batch
Content-Type: application/http;version=1.1
Content-Transfer-Encoding: binary
Content-ID: <[email protected]>
POST /example/application HTTP/1.1
Host: example.org
Content-Type: text/plain
Content-Length: 3
Foo
--batch
Content-Type: application/http;version=1.1
Content-Transfer-Encoding: binary
Content-ID: <[email protected]>
PUT /example/application/resource HTTP/1.1
Host: example.org
Content-Type: image/jpg
Content-Length: 123456
{jpg image data}
--batch--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment