Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARC Content-Type may need to have a space but it shouldn't #33

Closed
chfoo opened this issue Feb 12, 2014 · 1 comment
Closed

WARC Content-Type may need to have a space but it shouldn't #33

chfoo opened this issue Feb 12, 2014 · 1 comment

Comments

@chfoo
Copy link
Member

chfoo commented Feb 12, 2014

In regard to internetarchive/CDX-Writer#4,

application/http;msgtype=request and application/http;msgtype=response may need to have a space after the semicolon (application/http; msgtype=response) for de facto compatibility.

Wpull currently uses no space in the same fashion of Wget.

WARC ISO 28500 draft spec Annex C examples also omits the space.

Cursory searches reveal writers seem to omit the space:

Unfortunately, it seems like there's fixed string comparison syndrome for readers:

@chfoo chfoo added the bug label Feb 12, 2014
@chfoo chfoo added the wontfix label Mar 15, 2014
@chfoo
Copy link
Member Author

chfoo commented Mar 15, 2014

Fixed in internetarchive/CDX-Writer. No changes to Wpull will be made.

@chfoo chfoo closed this as completed Mar 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant