the native httpclient is very accessible and, until they patched recently,
was faster than webclient. They fixed that issue though. The code from
android is so easy to convert over, I'm not gonna give you the mono code:

http://www.softwarepassion.com/android-series-get-post-and-multipart-post-requests/

On Wed, Nov 21, 2012 at 10:30 AM, Filip Fracz <filipfr...@gmail.com> wrote:

> I'm having an issue with URLs being escaped in MonoDroid.
> I would like the Uri class to leave %2F in the URLs (otherwise it's hard
> to interact with short-lived S3 links).
>
> This SO describes the problem and the answer has a workaround for
> Microsoft.NET (it does works).
> I tried putting a similar "app.config" file in my Android project, but it
> does not seem to have any effect.
>
> What can I do? Is there any way of using Android's native HttpClient in my
> C#?
>
>
>
> P.S.
> Detailed background info for those interested:
> I'm using a WebClient class to do a GET on this URL:
> http://fs.debesys.net/fs/common/filip/android_mg_instruments
> It redirects to a short-lived Amazon S3 URL, which contains %F2.
> Uri class unescapes these to forward slashes, and Amazon issues a 403.
>
> _______________________________________________
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>


-- 
Extreme Knowledge is not something for which he programs a computer but for
which his computer is programming him.

-Wozniak


   - if my programming advice has helped you, feel free to donate to :
<https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KYUXV2PG88YQQ>

<https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KYUXV2PG88YQQ>
<https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KYUXV2PG88YQQ>
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to