Standard method for HTTP partial upload, resume upload -


i'm developing http client/server framework, , looking correct way handle partial uploads (the same downloads using method range header).

but, http put not intended resumed. , patch method, know, doesn't accept range header.

is there way handle in http standard (not using extension headers or etc)?

thanks in advance.

i think there no standard partial uploads:

  • content-range inside requests not explicitly forbidden in rfc2616 (http), wording refers response header gets used in response of range-request
  • while use patch method update existing resource (e.g. add more bytes) not same partial upload, because time incomplete resource available

if @ protocols of dropbox, google drive etc roll own protocol transfer single files in multiple chunks. need resumeable uploads

  • a way address incomplete upload. normal urls address complete, not partial resource , know of no standard partial resources.
  • a way find out current state of upload, maybe checksums of part sure, local file did not change. provided webdav propfind method (once able address incomplete resource :)
  • a way upload chunk. here 1 maybe use patch content-range header. mod_dav seems allow put content-range header (see http://www.gossamer-threads.com/lists/apache/users/432346)
  • a way publish resource once complete, or way define upfront complete means (e.g size of resource, checksum...)

Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -