On 11/2/2010 10:11 AM, Michael Wild wrote:

Seems like W3C is now requiring the User-Agent header, otherwise you get
a 403 response. Using wireshark I found that xmllint doesn't send a
User-Agent identification, and gets rejected. If I use wget and tell it
to suppress the User-Agent header I also get the same result:

$ wget --user-agent="" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
- --2010-11-02 15:06:52--  http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
Resolving www.w3.org... 128.30.52.37
Connecting to www.w3.org|128.30.52.37|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2010-11-02 15:06:53 ERROR 403: Forbidden.

The same works fine when using the default options.


That explains it!

Thanks.

Looks like we should disable xmllint for older versions of xmllint.


-Bill
_______________________________________________
cmake-developers mailing list
[email protected]
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to