oasis-open / cti-taxii-client

OASIS TC Open Repository: TAXII 2 Client Library Written in Python
https://taxii2client.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
107 stars 51 forks source link

Range wrong format - redundant `=` #105

Closed Ni-Knight closed 2 years ago

Ni-Knight commented 2 years ago

https://github.com/oasis-open/cti-taxii-client/blob/2c73aa58c26c1c079a42ad6b93a73feca7d49e66/taxii2client/v20/__init__.py#L424

Seems like the server is expecting a Range header in the format of items X-X and not items=X-X.

Also specified in the specs under 3.4 - http://docs.oasis-open.org/cti/taxii/v2.0/cs01/taxii-v2.0-cs01.html#_Toc496542715

Ni-Knight commented 2 years ago

my bad, I see this is handled as well.