RE: HTTP Basic Authentication for URLRequest

2015-04-01 Thread Kessler CTR Mark J
HTTP Basic Authentication for URLRequest After all the experiments, this is what I have got. Om, as3httpclient isn't giving me a progress event(I need progress event to write the downloading file data in chunks). I thought onData event would give me progress, but it isn't. Is there any o

Re: HTTP Basic Authentication for URLRequest

2015-03-31 Thread Deepak MS
gt; sock.flush(); > } > > private function socket_dataHandler(event:ProgressEvent):void > { > //the tricky part, figuring out what to do with the raw data > trace(socket.readUTFBytes(event.bytesLoaded)); > } > > > > > > > - > . > -- > View this message in context: > http://apache-flex-users.246.n4.nabble.com/HTTP-Basic-Authentication-for-URLRequest-tp9803p9927.html > Sent from the Apache Flex Users mailing list archive at Nabble.com. >

Re: HTTP Basic Authentication for URLRequest

2015-03-30 Thread douglowder
visible, and probably defeat the purpose of requiring authentication in the first place. -- View this message in context: http://apache-flex-users.246.n4.nabble.com/HTTP-Basic-Authentication-for-URLRequest-tp9803p9945.html Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: HTTP Basic Authentication for URLRequest

2015-03-28 Thread Chris Martin
obile. In my case I'm doing > it all through the desktop browser. I have not done this before in a mobile > environment. > > Chris > > > Date: Thu, 26 Mar 2015 22:44:18 +0530 > > Subject: Re: HTTP Basic Authentication for URLRequest > > From: megharajdee...@

Re: HTTP Basic Authentication for URLRequest

2015-03-27 Thread OmPrakash Muppirala
) + "\r\n\r\n"; > socket.writeUTFBytes(httpRequest); > sock.flush(); > } > > private function socket_dataHandler(event:ProgressEvent):void > { > //the tricky part, figuring out what to do with the raw data > trace(socket.readUTFBytes(event.bytesLoaded)); &

Re: HTTP Basic Authentication for URLRequest

2015-03-27 Thread kevin.godell
apache-flex-users.2333346.n4.nabble.com/HTTP-Basic-Authentication-for-URLRequest-tp9803p9927.html Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: HTTP Basic Authentication for URLRequest

2015-03-27 Thread Deepak MS
s was through mobile. In my case I'm doing > it all through the desktop browser. I have not done this before in a mobile > environment. > > Chris > > > Date: Thu, 26 Mar 2015 22:44:18 +0530 > > Subject: Re: HTTP Basic Authentication for URLRequest > > From: meg

RE: HTTP Basic Authentication for URLRequest

2015-03-26 Thread Chris Martin
Oh wow! I did not realize this was through mobile. In my case I'm doing it all through the desktop browser. I have not done this before in a mobile environment. Chris > Date: Thu, 26 Mar 2015 22:44:18 +0530 > Subject: Re: HTTP Basic Authentication for URLRequest > Fro

Re: HTTP Basic Authentication for URLRequest

2015-03-26 Thread Deepak MS
e type > for remoteURLStreamer? > > Chris > > > Date: Thu, 26 Mar 2015 10:45:43 +0530 > > Subject: Re: HTTP Basic Authentication for URLRequest > > From: megharajdee...@gmail.com > > To: users@flex.apache.org > > > > Sorry, was away for sometime. > >

RE: HTTP Basic Authentication for URLRequest

2015-03-26 Thread Chris Martin
Looking over your code. I wanna attempt to reproduce it. What is the type for remoteURLStreamer? Chris > Date: Thu, 26 Mar 2015 10:45:43 +0530 > Subject: Re: HTTP Basic Authentication for URLRequest > From: megharajdee...@gmail.com > To: users@flex.apache.org > > S

RE: HTTP Basic Authentication for URLRequest

2015-03-26 Thread Chris Martin
ou can see if you can get data in your request. Chris > From: chrsm...@outlook.com > To: users@flex.apache.org > Subject: Re: HTTP Basic Authentication for URLRequest > Date: Thu, 26 Mar 2015 10:00:44 + > > > I think flash player is trying to be consistent by disallowin

Re: HTTP Basic Authentication for URLRequest

2015-03-26 Thread Chris Martin
> I think flash player is trying to be consistent by disallowing such headers. Yep, majority of the time flash player will strip any custom headers you set. However, in the case of a POST request with data in the body, you can supply your own custom headers. I did notice in your screen captur

Re: HTTP Basic Authentication for URLRequest

2015-03-26 Thread OmPrakash Muppirala
On Mar 25, 2015 10:16 PM, "Deepak MS" wrote: > > Sorry, was away for sometime. > > I ran it through network monitor in FB. > Screenshot: http://pasteboard.co/25kUwXgR.png > > Looks like header is not passed at all. > > Code: > var req:URLRequest = new URLRequest(pathRemote); > req.

Re: HTTP Basic Authentication for URLRequest

2015-03-25 Thread Deepak MS
Sorry, was away for sometime. I ran it through network monitor in FB. Screenshot: http://pasteboard.co/25kUwXgR.png Looks like header is not passed at all. Code: var req:URLRequest = new URLRequest(pathRemote); req.method = URLRequestMethod.POST; req.data = new UR

Re: HTTP Basic Authentication for URLRequest

2015-03-25 Thread Chris Martin
Yeah, a network packet log would be a huge help. Then you can rule out whether or not the Authorization header is present in your request or not. I use fiddler[1] all the time. Also it makes it easy to detect if something else went wrong at the server side like your authentication request fai

RE: HTTP Basic Authentication for URLRequest

2015-03-24 Thread Kessler CTR Mark J
: users@flex.apache.org Subject: Re: HTTP Basic Authentication for URLRequest Any help on this please? I still haven't found any solution for this. I keep getting username\password prompt on the simulator. ;( On Mon, Mar 16, 2015 at 7:30 PM, Deepak MS wrote: > Hello, > I'm trying to

Re: HTTP Basic Authentication for URLRequest

2015-03-24 Thread Tom Chiverton
Do you have a network packet log ? Tom On 24/03/15 04:25, Deepak MS wrote: Any help on this please? I still haven't found any solution for this. I keep getting username\password prompt on the simulator. ;( On Mon, Mar 16, 2015 at 7:30 PM, Deepak MS wrote: Hello, I'm trying to download a fil

Re: HTTP Basic Authentication for URLRequest

2015-03-23 Thread Deepak MS
Any help on this please? I still haven't found any solution for this. I keep getting username\password prompt on the simulator. ;( On Mon, Mar 16, 2015 at 7:30 PM, Deepak MS wrote: > Hello, > I'm trying to download a file from the server which requires basic > authentication(need to enter user n

HTTP Basic Authentication for URLRequest

2015-03-16 Thread Deepak MS
Hello, I'm trying to download a file from the server which requires basic authentication(need to enter user name and password to access). I came across these links: http://stackoverflow.com/questions/509219/flex-3-how-to-support-http-authentication-urlrequest http://johncblandii.com/2011/07/flex-