hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Poppleton <tony.popple...@wanadoo.fr>
Subject re: css validation from Java
Date Fri, 08 Jan 2010 17:47:00 GMT
Hi Erik,

You can monitor the web traffic in Firefox using an addon, for example FireBugs or LiveHeaders
(http://livehttpheaders.mozdev.org/).  There is possibly an even better addon that I don't
know about...  You can use these addons to find out what to put in your requests.

Tony

> Message du 08/01/10 17:54
> De : "Erik5048" 
> A : httpclient-users@hc.apache.org
> Copie à : 
> Objet : css validation from Java
> 
> 
> 
> I want to online validate CSS from a java program of mine. 
> 
> So with Firefox, I send a piece of CSS text like this: 
> 
> http://jigsaw.w3.org/css-validator/validator?text=h2{margin-left:34px;} 
> 
> (= Firefox URL) and get an HTML page back, sayinf all is OK.
> 
> How would I do that from a Java program with HttpClient ? How can I find
> out, how a request is built up , and a response is received ?
> All I get now is an HTTP error 500....
> what would be the HttpClient definition and what the Request ?
> -- 
> View this message in context: http://old.nabble.com/css-validation-from-Java-tp27078997p27078997.html
> Sent from the HttpClient-User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 
> ---------------------------------------------------------------------------------------
> Orange vous informe que cet e-mail a ete controle par l'anti-virus mail. 
> Aucun virus connu a ce jour par nos services n'a ete detecte.
> 
> 
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message