- From: Chuck Houpt <chuck@habilis.net>
- Date: Tue, 7 Mar 2023 11:24:11 -0500
- To: "M.T. Carrasco Benitez" <mtcarrasco@gmail.com>
- Cc: W3C WWW Validator <www-validator@w3.org>
> On Mar 7, 2023, at 10:15 AM, M.T. Carrasco Benitez <mtcarrasco@gmail.com> wrote: > > The validator reports a fatal error for this URI: > http://limes.lu/en/2 > > The second character in the file: “!” > <!doctype html> I think the problem is that the server is not sending a Content-Type header for that page. Other pages on the site (e.g. top level) do have a Content-Type header and are accepted by the validator fine. You can see the difference with browser dev tools, or Curl: % curl -I http://limes.lu/en/2 HTTP/1.1 200 OK ... % curl -I http://limes.lu/ HTTP/1.1 200 OK Content-Type: text/html .... Of course it would be nice if the Validator produced a better error message for this situation. - Chuck
Received on Tuesday, 7 March 2023 16:24:36 UTC