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

this solves my headaches using pretty urls without extension and local dev server #218

Closed

Conversation

darwin
Copy link
Contributor

@darwin darwin commented Sep 20, 2010

the problem (v0.7.0):

  1. I have somefile.md in my jekyll project.
  2. I run webrick dev server locally
  3. I do curl -I http://localhost/somefile
  4. I get Content-Type: application/octet-stream because there is no content type definition and webrick forces this mime type

see also http://support.github.com/discussions/repos/4075-gh-pages-jekyll-permalink-does-not-work-content-type-applicationoctet-stream

@RJ
Copy link
Contributor

RJ commented Feb 6, 2011

I had the same problem. Turns out you can add a "nil" mapping to the mime_types like so:
mime_types.store nil, 'text/html'

As per: #279

@parkr
Copy link
Member

parkr commented Dec 8, 2012

Woohoo!! All set? I think #491 takes care of this, too :)

@parkr parkr closed this Mar 8, 2013
@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants