Greetings,

  I have new rules for http requests here in my company that force applications to use 
specifc user agent strings in all html request headers. 

  I'd like to change user agent for digester requests. Actually I just call 
digester.parse (java.lang.String uri)and everything is done internally by Digester but 
I think I'll need to do the job by myself and start executing  
digester.parse(java.io.InputStream input) instead of old way. Is it a good approach? 
Is there an easier way to do it?

  Here is an example of a modified html header :

GET /dispositivo.xml HTTP/1.1
User-Agent: Digitro_Application-1.0.1
Host: bxs00.daf.digitro.com.br:9876
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive

Best regards,

--------------------------------------------------------------------------------
Jos� Vilson de Mello de Farias
Software Engineer

D�gitro Tecnologia Ltda - www.digitro.com.br
APC - Customer Oriented Applications
E-mail: [EMAIL PROTECTED]
Tel.: +55 48 281 7158 
ICQ 11866179

Reply via email to