Discussions

Expand all | Collapse all

UserVoice: Correct MIME Type For JavaScript Code Pages

  • 1.  UserVoice: Correct MIME Type For JavaScript Code Pages

    Top
    Contributor
    Posted 12-17-2018 21:01
    If you have ever benefitted from one of my answers I ask you to upvote this UserVoice suggestions so we can continue to innovate our usage of QuickBase. This is a trivial change QuickBase can make that will allow dramatic new ways of using the product. 




    Please upvote this UserVoice suggestion:

    Correct MIME Type For JavaScript Code Pages
    https://quickbase.uservoice.com/forums/111823-quick-base-product-feedback/suggestions/36302689-corre...

    When a JavaScript code pages is requested QuickBase sets the MIME Type to:

    applicaiton/x-javascript

    This prevents the code page from being used as an ES6 Module because ES6 Modules requires strict MIME Types:

    application/javascipt

    The MIME Type application/x-javascript was experimental and this suggestion is consistent with RFC4329:

    "The media type ... 'application/javascript' ... which are also defined in this document, are intended for common use and should be used instead."

    http://www.rfc-editor.org/rfc/rfc4329.txt



  • 2.  RE: UserVoice: Correct MIME Type For JavaScript Code Pages

    Bronze
    Contributor
    Posted 04-18-2019 15:11
    You got my vote