[xml/sgml-pkgs] Bug#725955: xsltproc (libxslt?) HTTP requests lack User-Agent: that http://www.w3.org/ requires

Ivan Shmakov ivan at siamics.net
Thu Oct 10 10:10:26 UTC 2013


Package: xsltproc
Version: 1.1.28-2

	As per strace(1), xsltproc(1) (and perhaps the underlying
	libxslt library itself) uses HTTP/1.0, while http://www.w3.org/
	seems to require an User-Agent: HTTP/1.1 request header.

10:04:44 sendto(5, "GET /TR/xhtml1/DTD/xhtml1-strict.dtd HTTP/1.0\r\nHost: www.w3.org\r\nAccept-Encoding: gzip\r\n\r\n", 90, 0, NULL, 0) = 90

	The end result is that an attempt to load a DTD from W3 (such
	as: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd) fails:

10:04:59 recvfrom(5, "HTTP/1.0 500 Server Error\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n<html><body><h1>500 Server Err"..., 4096, 0, NULL, NULL) = 185

-- 
FSF associate member #7257



More information about the debian-xml-sgml-pkgs mailing list