2002/css-validator/org/w3c/css/util HTTPURL.java,1.16,1.17

Update of /sources/public/2002/css-validator/org/w3c/css/util
In directory hutz:/tmp/cvs-serv16870

Modified Files:
	HTTPURL.java 
Log Message:
Relaxed a bit the Accept header to cope with
an Apache bug related to conneg and PHP.
If things are served with an unsupported content-type, the
validator will reject it anyway.





Index: HTTPURL.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/util/HTTPURL.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- HTTPURL.java	29 Aug 2005 12:00:42 -0000	1.16
+++ HTTPURL.java	6 Sep 2005 15:03:06 -0000	1.17
@@ -201,7 +201,7 @@
 	urlC.setRequestProperty("Accept",
 				"text/css,text/html,text/xml,"
 				+"application/xhtml+xml,application/xml,"
-				+"image/svg+xml,*/*;q=0");
+				+"image/svg+xml,*/*;q=0.1");
 	
 	urlC.connect();
 	

Received on Tuesday, 6 September 2005 15:03:12 UTC