[Flashcoders] URLRequest Unencoded Question
Hello, Can someone help me with this. I need to send a url request with the spaces intact and not urlencoded. Is there a way to do this? var url:String = 'http://www.somesite.com/home?status=My Bikini Design ' + shortenedLink; var req:URLRequest = new URLRequest(url); navigateToURL(req,'_blank'); Thanks for any help! -T ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] URLRequest Unencoded Question
TS wrote: Hello, Can someone help me with this. I need to send a url request with the spaces intact and not urlencoded. Is there a way to do this? No http client can do this, the http RFC requires the resource name to not contain any spaces. The encoding is required. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] URLRequest Unencoded Question
Then why does this work when I put it in my url? http://twitter.com/home?status=My Bikini Design http://www.chynnadolls.com/ Which results in the proper status update in Twitter. There must be a way to do this as other client applications are updating twitter with spaces in their status? WHAT ARE YOU DOING? My Bikini Design http://www.chynnadolls.com/ Thanks, T -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson Sent: Tuesday, November 10, 2009 6:49 AM To: Flash Coders List Subject: Re: [Flashcoders] URLRequest Unencoded Question TS wrote: Hello, Can someone help me with this. I need to send a url request with the spaces intact and not urlencoded. Is there a way to do this? No http client can do this, the http RFC requires the resource name to not contain any spaces. The encoding is required. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] URLRequest Unencoded Question
TS wrote: Then why does this work when I put it in my url? http://twitter.com/home?status=My Bikini Design http://www.chynnadolls.com/ If you by my url really mean Address bar in my browser, then it is because your webbrowser did the escaping for you. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders