Re: using connection and https

Fernand Vanrie <[email protected]> Wed, 25 May 2011 17:46:35 +0200
Newsgroups gmane.comp.openoffice.devel.api
Message-ID <[email protected]>
Christian ,

Thanks again, BTW do you know who can give me more info about OO - SSL 
connections ?

Greetz

Fernand
> On Wed, May 25, 2011 at 4:01 PM, Fernand Vanrie<[email protected]>  wrote:
>> Christian ,
>>
>> Thanks for your valuable help.
>>
>> After i succeeded to use the OO connection stuff to use Google Translations
>> i was tempted to use the newest Google Tasks API too.
>>
>> Using port 443  i get no respons at all ?
> As written before: I don't know whether this is the correct way to set
> up a ssl connection. I kind of doubt that it handles that
> automatically.
>
>> I left my API_Key out for security reasons.
>> But
>>
>> In my working code for Translations i used
>> GET http://ajax.googleapis.com/....
>>
>> so i am a bit confused about the syntax to make HHTP requests :-)
> yes, absolute URL is valid, but rather only when talking to a proxy.
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.1.2
> "The most common form of Request-URI is that used to identify a
> resource on an origin server or gateway. In this case the absolute
> path of the URI MUST be transmitted (see section 3.2.1, abs_path) as
> the Request-URI, and the network location of the URI (authority) MUST
> be transmitted in a Host header field. For example, a client wishing
> to retrieve the resource above directly from the origin server would
> create a TCP connection to port 80 of the host "www.w3.org" and send
> the lines:"
>
> note the use of MUST - when talking to the origin directly, you (if
> you want to comply with the protocol) MUST use the absolute path, and
> not the full URL
>
> ciao
> Christian

-- 
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help