EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Seting HTTP headers does not work

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#33299
Posted: 05/14/2015 02:02:48
by Fanglin Liu (Priority Standard support level)
Joined: 05/14/2015
Posts: 33

I use TElHTTPSClient.SetRequestHeader to set Authorization header. After I call TElHTTPSClient.PostAsync, I use TElHTTPSClient.RequestHeaders to get all headers. I cannot see the Authorization header I set before. So the server respond with an error message. It's a trial version. Does the trial version does not support set Authorization header?
#33300
Posted: 05/14/2015 02:10:19
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

Please use TElHTTPSClient.RequestParameters.Authorization property to set Authorization header for requests.
#33301
Posted: 05/14/2015 02:39:44
by Fanglin Liu (Priority Standard support level)
Joined: 05/14/2015
Posts: 33

Thanks Vsevolod for your quick support. I can use TElHTTPSClient.RequestParameters.Authorization property to set Authorization header now.

how should I set the Content-Type header?
#33302
Posted: 05/14/2015 02:42:02
by Fanglin Liu (Priority Standard support level)
Joined: 05/14/2015
Posts: 33

Sorry. I find it in the supper class. Thanks for your help.

Reply

Statistics

Topic viewed 493 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!