Merge pull request #240 from xiekeyang/patch222

doc/spec: patch #222 to api.md.tmpl
This commit is contained in:
Stephen Day 2015-03-04 21:24:40 -08:00
commit f65cba0c38

View file

@ -19,9 +19,9 @@ reduce bandwidth usage and decrease the likelihood of backend corruption.
For relevant details and history leading up to this specification, please see
the following issues:
- docker/docker#8093
- docker/docker#9015
- docker/docker-registry#612
- [docker/docker#8093](https://github.com/docker/docker/issues/8903)
- [docker/docker#9015](https://github.com/docker/docker/issues/9015)
- [docker/docker-registry#612](https://github.com/docker/docker-registry/issues/612)
### Scope
@ -367,8 +367,7 @@ used to key the last used location header when implementing resumable uploads.
The progress and chunk coordination of the upload process will be coordinated
through the `Range` header. While this is a non-standard use of the `Range`
header, there are examples of [similar approaches](https://developers.google.c
om/youtube/v3/guides/using_resumable_upload_protocol) in APIs with heavy use.
header, there are examples of [similar approaches](https://developers.google.com/youtube/v3/guides/using_resumable_upload_protocol) in APIs with heavy use.
For an upload that just started, for an example with a 1000 byte layer file,
the `Range` header would be as follows: