[Mono-list] http header generation

Ivano Luberti luberti at archicoop.it
Thu Nov 17 09:56:35 EST 2005


I'm writing a Web Service Client using mono 1.1.9.2
When I try to consume my target WS I have two different behaviours 
when I compile may classes using Mcrosoft .NEt Framework and Mono.
I looked at the message the client sends using the two different run 
time and compiler and I found that the only difference is in the USEr 
Agent Line  of the HTTP header (see below).

Now to be sure that this is the problem I should rewrite the http 
header and see if the behaviour is the same.
There is someone on the list that can tell me which mono class write 
the header: I suppose is in the Mono.Http.dll.
IS configurabel in soem way or I have to recompile it ?


-------------------------------



HTTP Headers:

POST / HTTP/1.1
User-Agent: Mono Web Services Client Protocol 2.0.50215.16
SOAPAction: "http://mytarget/logon"
Content-Type: text/xml; charset=utf-8
Content-Length: 381
Expect: 100-continue
Connection: keep-alive
Host: mytarget:80

HTTP Headers:

POST / HTTP/1.1
User-Agent:
Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 
1.1.4322.2032)
SOAPAction: "http://mytarget/logon"
Content-Type: text/xml; charset=utf-8
Content-Length: 381
Expect: 100-continue
Connection: keep-alive
Host: mytarget:80




==================================================
Archimede Informatica NEWS!
==================================================

Realizzato il Sistema Integrato per la biglietteria della Torre di Pisa:
prenotazione, vendita, pre-vendita ed emissione dei biglietti di ingresso
alla Torre sia online che presso le biglietterie dislocate sulla piazza:
http://www.opapisa.it/boxoffice

Partner del Progetto Ci-Tel "Front office Telematico per il cittadino"
Ente Coordinatore Comune di Pisa

http://www.comune.pisa.it/doc/e-government.htm


==================================================
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
e-mail: archimede at archicoop.it
web: http://www.archicoop.it


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20051117/2480de50/attachment.html


More information about the Mono-list mailing list