Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section provides general information about SCSP APPEND that applies to both named and unnamed objects.

...

  • Include header for known or unknown size. Must include either the Content-length or Transfer-Encoding: chunked header.

    • Use the Content-length header if the size of the object is known. The Content-length value must specify the correct length of the appended content data. The Content-length header in the object is adjusted to reflect the actual length of the original data plus the appended data.

    • Use the Transfer-Encoding: chunked header (or the UNDETERMINED_LENGTH parameter if using the SDK) if the size of the object is not known (such as a live video feed). This header tells Swarm the size of the appended data is unknown. Do not combine this header with the Content-length header. All other headers stored with the object are copied without change to the newly-updated object. As a result, the The x-acme-meta-* and lifepoint headers in the preceding examples are ignored.

...