From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: * X-Spam-ASN: AS14383 205.234.109.0/24 X-Spam-Status: No, score=1.0 required=3.0 tests=AWL,HK_RANDOM_FROM, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=no version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: Re: HTML5 WebSockets Date: Thu, 10 Dec 2009 23:48:43 -0800 Message-ID: <20091211074843.GA28185@dcvr.yhbt.net> References: <20091124192430.GA4965@dcvr.yhbt.net> <20091210233236.GA23608@dcvr.yhbt.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1260517734 24459 80.91.229.12 (11 Dec 2009 07:48:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Dec 2009 07:48:54 +0000 (UTC) To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Fri Dec 11 08:48:47 2009 Return-path: Envelope-to: gclrrg-rainbows-talk@m.gmane.org X-Original-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Delivered-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Content-Disposition: inline In-Reply-To: <20091210233236.GA23608-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-BeenThere: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.rainbows.general:40 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.50) id 1NJ0F5-0003yl-Fy for gclrrg-rainbows-talk@m.gmane.org; Fri, 11 Dec 2009 08:48:47 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id D4B0D1D78870; Fri, 11 Dec 2009 02:48:46 -0500 (EST) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id C3E221D78870 for ; Fri, 11 Dec 2009 02:48:44 -0500 (EST) Received: from localhost (unknown [127.0.2.5]) by dcvr.yhbt.net (Postfix) with ESMTP id 5B1601F676; Fri, 11 Dec 2009 07:48:44 +0000 (UTC) Eric Wong wrote: > The new version of Chrome supports Web Sockets, so yes, I'd like to > confirm that our streaming "rack.input" support works with Web Sockets. Reading the RFC[1] and the pywebsocket[2], it looks like Transfer-Encoding: chunked is not used at all. This means we'll have to add an extension env instead of using "rack.input". The good part about this is that we're no longer constrained by the rewindable stream requirement, so there's no longer any need for TeeInput nor filesystem I/O... [1] - http://tools.ietf.org/id/draft-hixie-thewebsocketprotocol [2] - http://code.google.com/p/pywebsocket/ > As always, I'm trying to avoid GUI development myself, but may end Well, pywebsocket includes a command-line example client, so I'll just develop with that and not have to deal with getting Chrome to run. -- Eric Wong _______________________________________________ Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org http://rubyforge.org/mailman/listinfo/rainbows-talk Do not quote signatures (like this one) or top post when replying