On May 9, 1:26 am, Aryk Grosz
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> I''ve been working on a very low-level issue on RubyAMF.
>
> In a nutshell, I need to figure out if its at all possible that
rails''
> request.env[''RAW_POST_DATA''] or request.raw_post for that
matter could
> possibly be interpretting a byte stream and mistakingly truncating it by
> a byte or two in certain places.
>
There''s a thing where (to work around a bug in safari) the last byte
of a post request is dropped if it is 0
(see clean_up_ajax_request_body in action_controller/request.rb)
Fred> For example, in this byte stream lies a compressing Gzipped stream. And
> sometimes (like 1 in 100) this stream will be short a couple of
> characters (like 1-3) and appear corrupted.
>
> How can I access the raw data before ruby/rails puts its hands on it.
> Anyway to dip into the CGI directly. I want as few operations on the
> RAW_POST_DATA as possible.
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---