From 9d60d7d3d720378b0ee79c1896897a0707c3de43 Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Mon, 2 Jan 2023 00:09:11 +0000 Subject: [PATCH] Add comment about spec compliance --- warc-dump-responses.c | 1 + 1 file changed, 1 insertion(+) diff --git a/warc-dump-responses.c b/warc-dump-responses.c index 66e6af6..9cc2c9c 100644 --- a/warc-dump-responses.c +++ b/warc-dump-responses.c @@ -25,6 +25,7 @@ int main(int argc, char* argv[]) { // Read stdin, decode WARC, dump all response record bodies to stdout. // One LF is inserted at the end of each response to ensure that a new record always begins on a new line. // Headers must fit into BUFSIZE. + // Does not fully comply with the WARC spec. For example, headers must be capitalised canonically, and continuation lines are unsupported. char buf[2 * BUFSIZE]; size_t n; int state = STATE_BEFORE_RECORD;