Versions Compared

Key

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

...

The payload is inaccessible when the "Content-Length" is absent or invalid.

Warc-Payload-Digest header is computed only on defined record payloads where the leading header has been read. This makes it a requirement for the WARC parser to identify and always parse the http response and not make it optional.

For GZip'ed records this is not a big problem since we know the record ends when the GZip entry ends.

For uncompressed records the payload input stream would have to look ahead for a valid ARC/WARC version line header at which point the payload stream should be closed and the bytes read beyond that pushed back onto the internal streams.

In these cases the payload is inaccessible and errors are reported.

Warc-Payload-Digest header is computed only on defined record payloads

If the payload can not be identified it will not be recognized as WARC payload and treated as a normal WARC block.
This makes it a requirement for the WARC parser to identify and always parse the http response and not make it optional.

Child pages (Children Display)
depth3
styleh3
excerpttrue
excerptTypesimple