Fix trailing slash serving in development, charset in content-type http header