You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2020/01/19 20:26:19 UTC

[GitHub] [netbeans] matthiasblaesing commented on issue #1034: NETBEANS-1499 - change package.json icon

matthiasblaesing commented on issue #1034: NETBEANS-1499 - change package.json icon
URL: https://github.com/apache/netbeans/pull/1034#issuecomment-576043269
 
 
   I looked at the mime registration again today and while reading about this, I noticed, that the mimetypes should have been different:
   
   - `text/package+x-json` should have been `application/x.npm-package+json`
   - `text/package-lock+x-json` should have been `application/x.npm-package-lock+json`
   - `text/npm-log` should have been `text/x.npm-log+plain`
   
   Reasoning: The mimetypes are unregistered (thus the `x.` for the subtype) but they are all based on existing types. For former two are based on `application/json` and the latter is based on `text/plain`. The `+json` parts are the suffix to designate their base type.
   
   Its to late now, but should be considered next time.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists