Re: Improve can't gunzip content error
"Michael[tm] Smith" <[email protected]> Mon, 10 Aug 2015 12:04:57 +0900
| Newsgroups | gmane.org.w3c.validator |
|---|---|
| Message-ID | <[email protected]> |
--TuBLotoxjxNtqonL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Joe, Joe Merrill <[email protected]>, 2015-08-06 10:08 -0600: > Archived-At: <http://www.w3.org/mid/CAHeScEg3CXuxRCwr5=3DaOEPNKba6ivs4WxZ= [email protected]> >=20 > While trying to validate http://www.mdsupplies.com the following error is > show: >=20 > A fatal error occurred when attempting to decode response body from > http://www.mdsupplies.com/. Either we do not support the content encoding > specified ("gzip"), or an error occurred while decoding it. >=20 > The error was: Can't gunzip content: Header Error: Minimum header size is > 10 bytes Yeah, that seems to be a bug in the legacy Markup Validator (that is, https://validator.w3.org/) I have no idea how to troubleshoot it. But the fix is just to not use the legacy Markup Validator but instead to just use the current W3C HTML Checker (https://validator.w3.org/nu/). > The same page can be validated by the Nu validator with no errors. Yeah https://validator.w3.org/nu/?doc=3Dhttp://www.mdsupplies.com works as expected, and that=E2=80=99s the recommended tool to use. > It can also be fetched by google and displays correctly in all browsers. > If this error could show the request/response headers it would be very > useful. Or if it could list the actual specification(s) that the response > is violating. There is no problem with the response. You can verify that by doing this: curl -s -H "Accept-Encoding: gzip" http://www.mdsupplies.com | gunzip -t Which as expected returns nothing (indicating there=E2=80=99s no gzip error= ). =E2=80=94Mike --=20 Michael[tm] Smith https://people.w3.org/mike --TuBLotoxjxNtqonL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVyBTZAAoJEIfRdHe8OkuVgG8P/3JP6rLSPDa1eVbeTcRoE5uB kCaChifIL1QoQtitJ9I/vA1rEwIh0l173l8v+GmYWa6PAwICTp5SLc1M5mQVRAk4 dSETzKMVVsJbECgEZLPYNkiMrDIYeQ0Zivr6ebgd+IBp0TInp+gSnzXWIM8qfsOF SoW/u+4+BrwDemfJ23xfeE/YxKTNI6DAiZ0Tuac5CjWs8R5CcC5RPrJM8+4QGB1/ 95gB1amUUhZ9lojQ2qjqeFYRaMdinj+SMFKsjAEx5GR7Hv/ge8skBh/eS4w0OurP tvHyK10fF3B4PxktA74VH//abIaT2KbbRjIusvbOE3JzTgDFhZKeYq0IXtMwe8Tm 1SP1Pwnf1lH8HKWFlYSaVdvRwx+jH2CLpyXIQ97dOnaNd+0lbi2bh0IdBmYTUoFf bFVvj3MwcGCG4wE6IPSvRByYDRPjNF08fKzEVw1g2UEnCcGaCfisjh3e50j9e63+ QKy8P+xPEtreXA6uRwwkBc0WrKA+XfK6DOZ9tZzxZf1i6DpnQCJlTx9j0udtBnYV O89YNELSlq6h0ODLTFd5UhxZLMtiU809OdL5VSkm3/fooM1wrQOXZHpp7cnl2al4 kBlId/jSIV60IEp2qEnxadPlwRnruQ/s4eMm738Zb8ySSRToxwpOczac6+nfDhgQ XJw9FGk608Tz0jaTc5XE =Q8xZ -----END PGP SIGNATURE----- --TuBLotoxjxNtqonL--