25 May '13, 12pm

HTTP Streaming. Transfer-Encoding: chunked. Web browsers. Etc.

Rails 3.1 is going to support HTTP streaming, aka chunked responses, this post explains what's all about. What Is HTTP Streaming? Ordinary dynamic HTTP responses need a Content-Length header. Their timeline look like this: HTTP request -> dynamic content generation -> HTTP response Those are three serial steps because normally you need to generate the content in order to be able to know its size, and thus fill the Content-Length header of the response. HTTP provides an alternative to this schema to be able to flush data as it is produced, known as chunked transfer encoding . That's what we are referring to as streaming in recent commits. Streamed responses have no Content-Length header. Rather, they have a Transfer-Encoding header with a value of "chunked", and a body consisting of a series of chunks you write to the socket preceded by their individual sizes. Modulus detai...

Full article: http://weblog.rubyonrails.org/2011/4/18/why-http-streaming/

Tweets

markdown 1.1.1 - Markdown Engine Wrapper Now In...

rubyflow.com 25 May '13, 1pm

markdown 1.1.1 - Markdown Engine Wrapper Now Includes HTTP API / Web Service Posted by geraldbauer on May 25, 2013 — 0 com...

Make sure to catch the adidas Dream Miles strea...

flotrack.org 25 May '13, 3pm

There's plenty track and field action this weekend, so don't miss out. We'll have everything from high school competition ...

Another day, another debit session

edgeguides.rubyonrails.org 25 May '13, 5pm

Processing PostsController#create (for 127.0.0.1 at 2008-09-08 11:52:54) [POST] Session ID: BAh7BzoMY3NyZl9pZCIlMDY5MWU1M2...

@keithpitt Check out HTTP_ variables. @mariovisic

rack.rubyforge.org 26 May '13, 10am

The server or the application can store their own data in the environment, too. The keys must contain at least one dot, an...

BMW launches in-car music streaming service

BMW launches in-car music streaming service

luxuo.com 23 May '13, 7pm

BMW and rara.com are partnering to launch Europe’s first direct-to-car music streaming service. BMW 5-Series owners in the...

Watching HTTP Caching on RailsCasts via @railsc...

railscasts.com 22 May '13, 9pm

#321 HTTP Caching pro Jan 30, 2012 | 15 minutes | Performance , Views , Caching With HTTP response headers you can the cac...