JeanSebTr / open-webkit-sharp

Automatically exported from code.google.com/p/open-webkit-sharp
GNU Lesser General Public License v3.0
0 stars 0 forks source link

AddHeader error #111

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
 WebKitBrowser browser = new WebKitBrowser();
 browser.Name = "WebKitBrowser";
 browser.Dock = DockStyle.Fill;
 browser.ApplicationName = Application.ProductName;
 browser.AddHeader(new Header("test", "test_header"));
 browser.Navigate(url);

What is the expected output? What do you see instead?
 I would like to send a request with header with key "test" and value "test_header"

What version of the product are you using? On what operating system?
 OpenWebKitShare 2.8, Windows 7, Visual Studio 2010, C#, compiling with .NET Framework 2 (files from Binary NET2)

Please provide any additional information below.
 When I try to run this code, I got Exception, that tells that there is an exception when calling COM - HRESULT E_FAIL.
 Maybe I should call the AddHeader() function in different place?

Original issue reported on code.google.com by mac.lip...@gmail.com on 29 May 2012 at 12:20