Re: IO Error whenever page is named contact.html
"Jukka K. Korpela" <[email protected]> Tue, 5 May 2020 09:20:45 +0300
| Newsgroups | gmane.org.w3c.validator |
|---|---|
| Message-ID | <CAGHxYa5=dAQOROG72T1oBU1f3f-QxW3fyoEXRpZsD0tcU7jKuw@mail.gmail.com> |
--0000000000008a160905a4e0a67e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Leonid Batkhan ([email protected]) wrote: I tried validating several websites, and noticed that whenever page is > called contact.html I am getting the following > > 1. *IO Error*: HTTP resource not retrievable. The HTTP status from > the remote server was: 409. > > https://www.usa-travel.us/contact.html > I get a somewhat different response, but with the same information Sorry! This document cannot be checked. 1. [image: Error] I got the following unexpected response when trying to retrieve < http://www.usa-travel.us/contact.html>: 409 Conflict You can choose to validate the received error document <http://validator.w3.org/check?uri=3Dhttp%3A%2F%2Fwww.usa-travel.us%2Fco= ntact.html;No200=3D1> for example if the URL intentionally points to one (there is also a "Validat= e error pages" option in the options view for this purpose). HTTP error code 409 shouldn=E2=80=99t really happen for operations like val= idation request: https://tools.ietf.org/html/rfc7231#section-6.5.8 If I click on the =E2=80=9Cvalidate the received error document=E2=80=9D li= nk, I get a validation report for the actual contact.html page. So it seems that the validator gets the right document but somehow interprets the accompanying HTTP status code as error code 409.(anc, accordingly, treats the page content as an error document). The problem does not occurt fo all contact.html resources, e.g. not for my http://jkorpela.fi/contact.html (but it=E2=80=99s not an http vs https issu= e; the problem also occurs for http://www.usa-travel.us/contact.html ). Jukka --0000000000008a160905a4e0a67e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">=C2=A0Leonid Batkhan (<a href=3D"mailto:l= [email protected]">[email protected]</a>) wrote:<br></div>= <div dir=3D"ltr"><br></div><div class=3D"gmail_quote"><blockquote class=3D"= gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20= 4,204,204);padding-left:1ex"><div lang=3D"EN-US"><div class=3D"gmail-m_9050= 407260200799025WordSection1"><p class=3D"MsoNormal">I tried validating seve= ral websites, and noticed that whenever page is called contact.html I am ge= tting the following<u></u><u></u></p><p style=3D"margin-left:0.5in"><u></u>= <span>1.<span style=3D"font:7pt "Times New Roman"">=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 </span></span><u></u><strong>IO Error</strong>: HTTP res= ource not retrievable. The HTTP status from the remote server was: 409.<u><= /u><u></u></p><p class=3D"gmail-m_9050407260200799025location" style=3D"mar= gin-left:0.5in"><span class=3D"gmail-m_9050407260200799025url"><a href=3D"h= ttps://www.usa-travel.us/contact.html" target=3D"_blank">https://www.usa-tr= avel.us/contact.html</a></span></p></div></div></blockquote><div><br></div>= <div>I get a somewhat different response, but with the same information=C2= =A0<br><br><h2 id=3D"gmail-results" class=3D"gmail-invalid" style=3D"margin= :0px;padding:0.2em 0px;border:0px black;font-weight:500;font-size:1.3em;fon= t-family:"Bitstream Vera Sans",sans-serif;vertical-align:baseline= ;line-height:1;text-align:center;background-color:rgb(210,61,36);color:whit= e">Sorry! This document cannot be checked.</h2><ol id=3D"gmail-fatal-errors= " style=3D"margin:0px;padding:0px;border-width:1px 0px 0px;border-top-style= :solid;border-right-style:initial;border-bottom-style:initial;border-left-s= tyle:initial;border-top-color:rgb(234,235,238);border-right-color:initial;b= order-bottom-color:initial;border-left-color:initial;font-size:16px;font-fa= mily:Helvetica,Arial,sans-serif;vertical-align:baseline;color:rgb(31,33,38)= ;line-height:1;list-style:none"><li class=3D"gmail-msg_err" style=3D"margin= :0px;padding:1em 1em 2em;border-width:0px 1px 1px;border-top-style:initial;= border-right-style:solid;border-bottom-style:solid;border-left-style:solid;= border-top-color:initial;border-right-color:rgb(234,235,238);border-bottom-= color:rgb(234,235,238);border-left-color:rgb(234,235,238);vertical-align:ba= seline;line-height:1;text-align:left;list-style-position:inside;clear:both"= ><span class=3D"err_type"><img src=3D"https://validator.w3.org/images/info_= icons/error.png" alt=3D"Error" title=3D"Error" style=3D"width: 1.2em; heigh= t: 1.2em; padding-bottom: 0.2em; vertical-align: middle;"></span><p style= =3D"margin:0px;padding:0px;border:0px;vertical-align:baseline;line-height:2= 0.8px">I got the following unexpected response when trying to retrieve <= <a href=3D"http://www.usa-travel.us/contact.html" style=3D"margin:0px;paddi= ng:0px;border:0px;vertical-align:baseline;color:rgb(54,93,149);line-height:= 1">http://www.usa-travel.us/contact.html</a>>:</p><blockquote><p style= =3D"margin:0px;padding:0px;border:0px;vertical-align:baseline;line-height:2= 0.8px"><code>409 Conflict</code></p></blockquote><p style=3D"margin:0px;pad= ding:0px;border:0px;vertical-align:baseline;line-height:20.8px">You can cho= ose to=C2=A0<a href=3D"http://validator.w3.org/check?uri=3Dhttp%3A%2F%2Fwww= .usa-travel.us%2Fcontact.html;No200=3D1" style=3D"margin:0px;padding:0px;bo= rder:0px;vertical-align:baseline;color:rgb(54,93,149);line-height:1">valida= te the received error document</a>=C2=A0for example if the URL intentionall= y points to one (there is also a "Validate error pages" option in= the options view for this purpose).</p></li></ol><br>HTTP error code 409 s= houldn=E2=80=99t really happen for operations like validation request:<br><= a href=3D"https://tools.ietf.org/html/rfc7231#section-6.5.8">https://tools.= ietf.org/html/rfc7231#section-6.5.8</a>=C2=A0=C2=A0<br><br>If I click on th= e =E2=80=9Cvalidate the received error document=E2=80=9D link, I get a vali= dation report for the actual=C2=A0contact.html page. So it seems that the v= alidator gets the right document but somehow interprets the accompanying HT= TP status code as error code 409.(anc, accordingly, treats the page content= as an error document).<br><br>The problem does not occurt=C2=A0fo=C2=A0all= contact.html resources, e.g. not for my=C2=A0<a href=3D"http://jkorpela.fi= /contact.html">http://jkorpela.fi/contact.html</a>=C2=A0(but it=E2=80=99s n= ot an http vs https issue; the problem also occurs for <a href=3D"http://ww= w.usa-travel.us/contact.html">http://www.usa-travel.us/contact.html</a> ).<= /div><div><br></div><div>Jukka</div><div><br></div></div></div> --0000000000008a160905a4e0a67e--