Forum Discussion

_anomDiebolt_'s avatar
_anomDiebolt_
Qrew Elite
7 years ago

UserVoice: Correct MIME Type For JavaScript Code Pages

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