Skip to content

Instantly share code, notes, and snippets.

@jamiehodge
Last active December 17, 2015 17:09
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 jamiehodge/5644074 to your computer and use it in GitHub Desktop.
Save jamiehodge/5644074 to your computer and use it in GitHub Desktop.
Explicit chunk upload proposal

POST /uploads

  • complete: default false
  • chunk_size: default 1024*x

-> /uploads/id

  • form PUT uploads/id/chunks/id
  • list /uploads/id/chunks/id

PUT (repeat) GET to see what is missing PUT /uploads/id

  • complete: true
@felixge
Copy link

felixge commented May 24, 2013

It would be nice to use a fixed chunk size. I'm done with my presentation, so I'll play around with this a little myself now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment