Skip to content

Commit

Permalink
Correct version string
Browse files Browse the repository at this point in the history
  • Loading branch information
bensteinberg committed Jan 8, 2025
1 parent b07e5c0 commit 010007c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions perma_web/perma/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ def write_perma_warc_header(out_file, guid, timestamp):
]
warcinfo_fields = [
b'operator: Perma.cc',
b'format: WARC File Format 1.0',
b'format: WARC file version 1.0',
bytes(f'Perma-GUID: {guid}', 'utf-8')
]
data = b'\r\n'.join(warcinfo_fields) + b'\r\n'
Expand All @@ -748,7 +748,7 @@ def make_detailed_warcinfo(filename, guid, coll_title, coll_desc, rec_title, pag
writer = BufferWARCWriter(gzip=True)
params = OrderedDict([('operator', 'Perma.cc download'),
('Perma-GUID', guid),
('format', 'WARC File Format 1.0'),
('format', 'WARC file version 1.0'),
('json-metadata', json.dumps(coll_metadata))])

record = writer.create_warcinfo_record(filename, params)
Expand Down

0 comments on commit 010007c

Please sign in to comment.