[Mono-list] Https WebRequest

Abe Gillespie abe.gillespie at gmail.com
Wed Apr 30 13:42:24 EDT 2008


@Sebastien, @Michał - thanks for the help, guys.  I'll be looking into  
this tonight.

-Abe

On Apr 30, 2008, at 8:02 AM, Sebastien Pouliot wrote:

> Abe,
>
> Check out the security FAQ in the Mono wiki and you'll find all the
> answers there.
>
> Sebastien
>
> On Tue, 2008-04-29 at 23:02 -0400, Abe Gillespie wrote:
>> Is the ability to send an SSL web request implemented?  I'm trying to
>> use the Google Checkout API http://code.google.com/p/google-checkout-dotnet-sample-code/
>>  and am getting the following inner-most exception:
>>
>> System.Net.WebException: Error writing request.
>>   at System.Net.WebConnectionStream.WriteRequest () [0x00000]
>>   at System.Net.WebConnectionStream.Close () [0x00000]
>>   at System.IO.Stream.Dispose () [0x00000]
>>   at GCheckout.GCheckoutRequest.Send () [0x00000]
>>
>> The code I'm using looks like:
>>
>> CheckoutShoppingCartRequest req = checkoutButton.CreateRequest();
>> req.AddItem("Cogswell Cogs", "Cog", 279, cnt);
>> GCheckoutResponse resp = req.Send();
>> Response.Redirect(resp.RedirectUrl, true);
>>
>> // The URL the above code hits is https://checkout.google.com/...
>>
>> If it's a bug, I'll be happy to file a report.  But don't know if I'm
>> missing something.  Oh, and the line you probably don't want to read:
>> "It works on Windows."
>>
>> Thanks!
>> -Abe
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>



More information about the Mono-list mailing list