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

Fix #380: Require a javascript content-type. #394

Merged
merged 2 commits into from
Aug 8, 2014

Conversation

jyasskin
Copy link
Member

I want to double-check that we want to omit the */ecmascript content types defined by http://www.rfc-editor.org/rfc/rfc4329.txt. Nothing else from http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting.html#scriptingLanguages looks like a good idea.

@annevk
Copy link
Member

annevk commented Jul 29, 2014

If you list them in arbitrary order, list text/javascript first.

Also, you need to talk about parsing the Content-Type header somehow and what to do if there any parameters.

@jyasskin
Copy link
Member Author

Thanks. How's this?

@annevk
Copy link
Member

annevk commented Jul 30, 2014

Looks good. I think if you say "one of" you need to use "and" though, and not "or".

jungkees added a commit that referenced this pull request Aug 8, 2014
Fix #380: Require a javascript content-type.
Thanks! @annevk It seems "one of" is used with both "and" and "or". e.g. http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#parsing-main-inhtml
@jungkees jungkees merged commit e8d7eb7 into w3c:master Aug 8, 2014
@annevk
Copy link
Member

annevk commented Aug 10, 2014

@jungkees you missed the improvements in your merging.

@jungkees
Copy link
Collaborator

Looks good. I think if you say "one of" you need to use "and" though, and not "or".

Could you explain why? (Is that what you pointed as improvements?)

@annevk
Copy link
Member

annevk commented Nov 20, 2014

Because it's one of "a list" and you don't describe a list using "or". Anyway, as far as I know.

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

Successfully merging this pull request may close these issues.

3 participants