Re: [U2] callHTTP creating Header for Host,

2012-08-23 Thread regalitare
or UniData 7.2, hoping that all 7.2 builds do not include it and all 7.3+ will! I'm open to better way to handle the situation :-) Thanks, Steve... -Original Message- From: regalitare To: u2-users Sent: Wed, Aug 22, 2012 9:10 pm Subject: [U2] callHTTP creating Header for Host,

[U2] callHTTP creating Header for Host,

2012-08-22 Thread regalitare
Greetings I am working on an issue with UniData but I suspect it possibly affects both flavors. I am making a callHTTP GET request to a server that has virtual hosts. Basically, one server on a single IP address has multiple named web sites. On UniData 7.3.0 Personal Edition on Windows I tes

Re: [U2] callHTTP creating Header

2011-08-25 Thread Boydell, Stuart
z = addRequestParameter(h,'pwd','*pa55*','Content-Disposition: form-data; name="pwd"') ct = 'Content-Disposition: form-data; name="invoice_xml"; filename="test.xml"':@am:'Content-Type: text/xml' cv = 'h

Re: [U2] callHTTP creating Header (Karl-Heinz Winter)

2011-08-25 Thread Tony Gravagno
Karl - your original request said: "How can I create the correct header?" My mental response was "stop bothering with CallHTTP and use cURL". I refrained from posting that because of the inevitable retribution from people who prefer to bang their heads against flaky software rather than just look

Re: [U2] callHTTP creating Header (Karl-Heinz Winter)

2011-08-25 Thread Karl-Heinz Winter
d the webserver response ist OK! Karl-Heinz old message was: Message: 1 Date: Tue, 23 Aug 2011 21:03:31 +0200 From: Karl-Heinz Winter To: u2-users@listserver.u2ug.org Subject: [U2] callHTTP creating Header Message-ID: <4e53f983.10...@freenet.de> Content-Type: text/plain; charset=ISO-8859

Re: [U2] callHTTP creating Header

2011-08-24 Thread Glenn Sallis
Hello Karl-Heinz, It could be that the issue is not with UniVerse, rather at the web server end. If you can share the source code with us which you are using to build up the request this may help us to trace the problem. Also, are you running UniVerse or UniData and on which OS? I would sugg

[U2] callHTTP creating Header

2011-08-23 Thread Karl-Heinz Winter
in a header with post-data I have to create the header-information like this: Content-type: text/xml;charset="UTF-8" Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 When creating it with "setRequestHeader" or with "addRequestParamete" I will receive