This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23100 - Error when degzipping website
Summary: Error when degzipping website
Status: RESOLVED WORKSFORME
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: HEAD
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-30 11:37 UTC by Vojtech Knyttl
Modified: 2015-08-23 07:31 UTC (History)
1 user (show)

See Also:


Attachments

Description Vojtech Knyttl 2013-08-30 11:37:02 UTC
I have a problem with my website, which is completely gzipped:

http://goout.cz/cs/ - its validation works correctly

http://goout.cz/cs/fotoreporty/ - validation fails

When I try
curl -v http://goout.cz/cs/fotoreporty/ | gzip -d
I am getting expected results. But validation on

http://validator.w3.org/check?uri=http%3A%2F%2Fgoout.cz%2Fcs%2Ffotoreporty%2F#fatal-errors

yields:

The error was: Can't gunzip content: Header Error: Minimum header size is 10 bytes

The gzip header seems to me okay to me:

$ curl http://goout.cz/cs/ | head -1 | hexdump | head -1
0000000 1f 8b 08 00 00 00 00 00 00 00 ed 5d cd 73 db 38

$ curl http://goout.cz/cs/fotoreporty/ | head -1 | hexdump | head -1
0000000 1f 8b 08 00 00 00 00 00 00 00 ed 7d cf 73 e3 46

Am I doing anything wrong? It seems to me the problem must be on the Validation side.

Thanks
Comment 1 Michael[tm] Smith 2013-09-16 21:40:13 UTC
Please always test in http://validator.w3.org/nu/ instead of http://validator.w3.org

The http://validator.w3.org/nu/ validator handles http://goout.cz/cs/fotoreporty/ just fine without reporting any gzip-related problem. So this isn't a problem in the HTML5 validator.