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

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
4 participants
Contributor

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

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: mojombo#279

Owner

parkr commented Dec 8, 2012

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

parkr closed this Mar 8, 2013

jekyllbot 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.