Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix inaccurate HTTP response header field name #4976
Custom WEBrick headers default settings documentation is incorrect.
“We only provide one default and that’s a Content-Type header that disables caching in development […]”
“We only provide one default and that’s a Cache-Control header that disables caching in development […]”
@galopin actually that is correct to an extent, it's correct in that we do provide Content-Type, but it's not right that we only provide it, we actually provide by default Content-Type _and_ Cache-Control, one dynamic, the other static: https://github.com/jekyll/jekyll/blob/master/lib/jekyll/commands/serve/servlet.rb#L40
Do you mind updating the pull request to reflect that?