Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-30 Thread Maciek Sakrejda
Message- From: jitendra jain [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] URLRequest, ByteArray, and the 0 byte Date: Tue, 30 Sep 2008 09:13:59 +0530 (IST) All the request data that is send is String. Thanks, with Regards

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-30 Thread Maciek Sakrejda
watch list if so. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Troy Gilbert [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] URLRequest, ByteArray, and the 0 byte Date: Mon, 29 Sep 2008 22:33

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-30 Thread Troy Gilbert
Ah, interesting. This seems related, but different. I was just setting URLRequest.data to a ByteArray directly. In your case, if I understand application/x-www-form-urlencoded correctly, then zero bytes should just be replaced with %00. Have you filed a bug? I'd like to add that to my Adobe

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-30 Thread Maciek Sakrejda
@yahoogroups.com Subject: Re: [flexcoders] URLRequest, ByteArray, and the 0 byte Date: Tue, 30 Sep 2008 11:57:09 -0500 Ah, interesting. This seems related, but different. I was just setting URLRequest.data to a ByteArray directly. In your case, if I understand application/x-www-form-urlencoded

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-30 Thread jitendra jain
Truviso, Inc. http://www.truviso. com -Original Message- From: jitendra jain jitendra_jain_ [EMAIL PROTECTED] com Reply-To: [EMAIL PROTECTED] ups.com To: [EMAIL PROTECTED] ups.com Subject: Re: [flexcoders] URLRequest, ByteArray, and the 0 byte Date: Tue, 30 Sep 2008 09:13:59 +0530 (IST) All

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-29 Thread Maciek Sakrejda
-Original Message- From: Maciek Sakrejda [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders flexcoders@yahoogroups.com Subject: [flexcoders] URLRequest, ByteArray, and the 0 byte Date: Thu, 25 Sep 2008 12:36:10 -0700 I've run into an interesting problem with URLRequest

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-29 Thread Troy Gilbert
The byte array seems to be truncated to the location of that byte. In general, any ByteArray sent as a data property payload of a URLRequest seems to be truncated to the location of the first zero byte. I've confirmed this by checking the Content-Length header of the POST request (in fact, if

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-29 Thread Maciek Sakrejda
, ByteArray, and the 0 byte Date: Mon, 29 Sep 2008 16:07:45 -0500 The byte array seems to be truncated to the location of that byte. In general, any ByteArray sent as a data property payload of a URLRequest seems to be truncated to the location of the first zero byte. I've confirmed this by checking

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-29 Thread Troy Gilbert
We're also working around this by Base64-encoding, but this is clearly less than ideal. It definitely seems like a Flash Player bug. We ran into this when doing AlivePDF REMOTE saves (i.e., bouncing the file off the server). Do you know when you ran into this, Troy? I tested our particular

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-29 Thread jitendra jain
All the request data that is send is String.  Thanks, with Regards, Jitendra Jain - Original Message From: Troy Gilbert [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, 30 September, 2008 9:03:14 AM Subject: Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-29 Thread jitendra jain
Sent: Tuesday, 30 September, 2008 9:13:59 AM Subject: Re: [flexcoders] URLRequest, ByteArray, and the 0 byte All the request data that is send is String.  Thanks, with Regards, Jitendra Jain - Original Message From: Troy Gilbert troy.gilbert@ gmail.com To: [EMAIL PROTECTED] ups.com

[flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-25 Thread Maciek Sakrejda
I've run into an interesting problem with URLRequest, navigateToURL, and ByteArray when sending a zero byte: var bytes:ByteArray = new ByteArray(); bytes.writeByte(1); bytes.writeByte(1); bytes.writeByte(1); bytes.writeByte(1); requestHeader = new URLRequestHeader(Content-type,