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

Typo in Headers #5

Open
wants to merge 1 commit into
base: 06_set_content_type
Choose a base branch
from

Conversation

jammiemountz
Copy link

Running this out of the box wasn't setting the Content-Type correctly for me in Chrome. Instead of setting "Content-Type," it was just adding a header "Content Type", which had no affect on how the file was processed. My stylesheets were coming in as text/plain. After adding the "-", the header was written correctly, and the browser was able to read my CSS.

Running this out of the box wasn't setting the Content-Type correctly for me in Chrome. Instead of setting "Content-Type," it was just adding a header "Content Type", which had no affect on how the file was processed. My stylesheets were coming in as text/plain. After adding the "-", the header was written correctly, and the browser was able to read my CSS.
@jammiemountz
Copy link
Author

I dont know if this is actually affecting people or not, but I thought I'd share the fix I had to make! Thanks for the code and the youtube videos!

@ganesh35
Copy link

It doe's effected my test run. I changed from "Content Type" to "Content-Type". Everything is working fine now. :)

@smmr0
Copy link

smmr0 commented Oct 2, 2016

This will also need to be merged into branches 07 through 20.

@chabgood
Copy link

👍

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.

4 participants