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

MIME type + parmerters #27

Open
Cj-Malone opened this issue Sep 17, 2016 · 0 comments
Open

MIME type + parmerters #27

Cj-Malone opened this issue Sep 17, 2016 · 0 comments

Comments

@Cj-Malone
Copy link

A "self" link with any parameters added fails to validate. So "application/atom+xml; charset=utf-8" is classed as invalid (well a warning).

The tests pass elsewhere as your regex matches fine, it's only the self link that fails. I don't know any python but I think that line should be a check to see if the type starts with the set mime types, not equals.

The RFC does state that "MIME implementations must ignore any parameters whose names they do not recognize."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant