Commit c7963a4f authored by Jérome Perrin's avatar Jérome Perrin

web_renderjs: initialise web script content type to application/javascript

https://tools.ietf.org/html/rfc4329#section-7 states that text/javascript is obsolete.

Doesn't really matter in the end because WebPage_viewAsWeb forces the content type.
parent 37efde49
context.setContentType('text/javascript')
context.setContentType('application/javascript')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment