Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove charset on json content-type #13161

Merged
merged 3 commits into from Apr 25, 2019
Merged

Remove charset on json content-type #13161

merged 3 commits into from Apr 25, 2019

Conversation

markstory
Copy link
Member

Don't emit a charset parameter on the json content type. Chrome has started emitting warnings when this parameter is present as it isn't compliant with the spec.

Fixes #13156

Don't emit a charset parameter on the json content type. Chrome has
started emitting warnings when this parameter is present as it isn't
compliant with the spec.

Fixes #13156
@markstory markstory added this to the 3.7.8 milestone Apr 24, 2019
@codecov
Copy link

codecov bot commented Apr 24, 2019

Codecov Report

Merging #13161 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #13161   +/-   ##
=========================================
  Coverage     90.93%   90.93%           
  Complexity    14066    14066           
=========================================
  Files           522      522           
  Lines         36169    36169           
=========================================
  Hits          32892    32892           
  Misses         3277     3277
Impacted Files Coverage Δ Complexity Δ
src/Http/Response.php 89.65% <100%> (ø) 271 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 266f1c9...f996038. Read the comment docs.

@ravage84
Copy link
Member

@markstory fixed the broken tests.

@markstory markstory merged commit 96a8a2e into master Apr 25, 2019
@markstory markstory deleted the issue-13156 branch April 25, 2019 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[3.x] Chrome throwing CORB (Cross-Origin-Read-Blocking) warnings for default JSON header
2 participants