Hello All,

Thank you, Sven and Wkitty42, for having corrected a false assumption about 
encryption of url.

Nevertheless, why not to have a simplepost(an-url, an-ansistring)::ansistring 
method available ?

Cheers, Ched'




Le 31.10.2018 à 22:51, Sven Barth via fpc-pascal a écrit :
Ched <charles.edouard.des.vastes.vig...@gmail.com <mailto:charles.edouard.des.vastes.vig...@gmail.com>> schrieb am Mi., 31. Okt. 2018, 23:43:

    Hello All,

    I'm using fphttpclient.simpleget to make querries to webserver. It's very 
very simple to use this
    function ! "Du pur bonheur".

    As some data which travel the world encoded in clear in the url of the get 
are sometime private
    (connecting password for example), I'd like to use the post method which 
crypts the data when using
    https.


Your assumption is incorrect. The only part that is "transmitted" unencrypted is the host, because that one is resolved using DNS. The remaining URL is the first line of the already encrypted HTTP header.

Regards,
Sven

On 10/31/18 6:43 PM, Ched wrote:
As some data which travel the world encoded in clear in the url of the get are 
sometime private (connecting password for example), I'd like to use the post 
method which crypts the data when using https.

ummm... if you are using https, GETs are ""crypted"" as are the other http 
request methods HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE and PATCH...

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to