Skip to content

MIME type + parmerters #27

@Cj-Malone

Description

@Cj-Malone

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."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions