Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Added forbidden content types and content type shortcuts #799
xml-project left a comment
Does the left to right rule makes it over-complicated. Couldn't we just say, that a content-type is acceptable if it matches at least one of the positive and none of the excluded.
Consider a step like
Without the left-to-right rule, that won't allow
Alternatively, we could not exclude HTML from XML. Then you wouldn't need the left-to-right rule. I could be persuaded to do that, I guess, but it seemed like it was useful to have XML mean "XML only"