Skip to content

Conversation

@jakubboucek
Copy link
Contributor

  • Type: bug fix
  • BC break: yes, but probably no effective
  • No tests or docs affected or applied

Tracy is sending Tracy\Bar components with Content-Type: text/javascript.

According to RFC 4329 (chapter 7.1) is text/javascript obsolete and should be used application/javascript instead.

In real case it make light impediment to right detect, and process response. For example .htaccess in nette/web-project is set DEFLATE filter only for application/javascript mime. I mean it's just mistake, not intentionally.

@dg
Copy link
Member

dg commented Oct 3, 2018

Thanks

@dg dg merged commit d7fea3e into nette:master Oct 3, 2018
@jakubboucek jakubboucek deleted the fix-bar-js-content-type branch March 12, 2019 00:52
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.

2 participants