浏览代码

Add comment about spec compliance

master
JustAnotherArchivist 1年前
父节点
当前提交
9d60d7d3d7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      warc-dump-responses.c

+ 1
- 0
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;


正在加载...
取消
保存