EldoS | Feel safer!

Software components for data protection, secure storage and transfer

HTTPS - Custom header

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
#10412
Posted: 06/17/2009 07:29:15
by Eugene Marmiy (Basic support level)
Joined: 05/06/2009
Posts: 26

Hello.
One question: I added header
HttpsClient.SetRequestHeader('Authorization','<>');

but it not sended. Look at image.
What it is necessary to make to send custom heading?

Thanks for answer.


#10413
Posted: 06/17/2009 07:41:55
by Eugene Mayevski (EldoS Corp.)

1) Please don't crosspost your questions to the forum and helpdesk.
2) Not all headers can be set to custom values. Authorization is handled by the component and can't be set by application code.
3) The right place to modify headers is in OnPreparedHeaders event handler.


Sincerely yours
Eugene Mayevski
#10414
Posted: 06/17/2009 07:47:39
by Eugene Marmiy (Basic support level)
Joined: 05/06/2009
Posts: 26

Thanks, it work.
#10415
Posted: 06/17/2009 07:50:30
by Eugene Marmiy (Basic support level)
Joined: 05/06/2009
Posts: 26

1. Ok, sorry
Where I can download full help about your component?
SecureBlackbox.chm -- it is, but no description and samples about methods and event.
#10416
Posted: 06/17/2009 07:58:44
by Eugene Mayevski (EldoS Corp.)

The samples are in <SecureBlackbox>\Samples folder. Descriptions of some methods are really sparse sometimes, but we work on them all the time.


Sincerely yours
Eugene Mayevski
#10420
Posted: 06/18/2009 00:02:57
by Eugene Marmiy (Basic support level)
Joined: 05/06/2009
Posts: 26

Next question:
After a method a post I need to be passed the text, in what Events I need to realise method Write (WriteBuffer)?
Code
Here an example on C #
request.Method = "POST";
request.ContentType = "application/x-www-form-urlencoded";
request.UserAgent = "Mozilla/5.0 (Windows; U; Windows NT 6.0; sv-SE; ...";
request.ContentLength = paramStream.Length;
using (var stream = request.GetRequestStream())
{
  stream.Write(paramStream, 0, paramStream.Length);
  stream.Close();
}
var response = request.GetResponse();
#10423
Posted: 06/18/2009 04:23:24
by Eugene Marmiy (Basic support level)
Joined: 05/06/2009
Posts: 26

Thanks, I have found as to make it
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.

Reply

Statistics

Topic viewed 1266 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!