Skip to content

Commit

Permalink
Added WARC/1.1 to WARC_TYPES list in ArcWarcRecordLoader to allow par…
Browse files Browse the repository at this point in the history
…sing of WARCs using the latest WARC spec (#39)

Bumped version to 1.5.4 per this change.
Fixes #37
  • Loading branch information
N0taN3rd authored and ikreymer committed Aug 5, 2018
1 parent 95d5dcd commit 0378b23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from setuptools.command.test import test as TestCommand
import glob

__version__ = '1.5.3'
__version__ = '1.5.4'


class PyTest(TestCommand):
Expand Down
2 changes: 1 addition & 1 deletion warcio/recordloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, reason):

#=================================================================
class ArcWarcRecordLoader(object):
WARC_TYPES = ['WARC/1.0', 'WARC/0.17', 'WARC/0.18']
WARC_TYPES = ['WARC/1.1', 'WARC/1.0', 'WARC/0.17', 'WARC/0.18']

HTTP_TYPES = ['HTTP/1.0', 'HTTP/1.1']

Expand Down

0 comments on commit 0378b23

Please sign in to comment.