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

Support for SVGZ files in the internal webserver #1380

Closed
jcea opened this issue Aug 5, 2014 · 2 comments
Closed

Support for SVGZ files in the internal webserver #1380

jcea opened this issue Aug 5, 2014 · 2 comments
Assignees
Milestone

Comments

@jcea
Copy link

jcea commented Aug 5, 2014

When using the local webserver, Nikola serves SVG files correctly, but SVGZ files are not correct, since "Content-Encoding: gzip" header is required in the HTTP response.

Verify this:

  1. Launch nikola webserver
  2. Copy a SVG file to the "output" directory.
  3. Open Firefox and access the SVG file via Nikola webserver.
  4. The SVG file will work correctly. Fine.
  5. Compress the SVG file using "gzip" and rename it to "svgz" extension.
  6. Try to load the new file with firefox.
  7. The file will fail.

Details: http://kaioa.com/node/45

@Kwpolska Kwpolska added this to the v7.0.2 milestone Aug 5, 2014
@Kwpolska Kwpolska self-assigned this Aug 5, 2014
Kwpolska added a commit that referenced this issue Aug 5, 2014
Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
@Kwpolska
Copy link
Member

Kwpolska commented Aug 5, 2014

There, fixed.

@jcea
Copy link
Author

jcea commented Aug 6, 2014

Great. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants