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=0.0 required=3.0 tests=MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Niklas Hofer Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: Re: Websocket Handshake 76 Date: Thu, 8 Jul 2010 16:41:49 +0200 Message-ID: <20100708164149.37178aed@wigowyr> References: <20100707172640.26fe0ce8@wigowyr> <20100707203848.GA21844@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: dough.gmane.org 1278600113 21182 80.91.229.12 (8 Jul 2010 14:41:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 8 Jul 2010 14:41:53 +0000 (UTC) To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Thu Jul 08 16:41:51 2010 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 In-Reply-To: <20100707203848.GA21844-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.20.1; i486-pc-linux-gnu) 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:95 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OWsIO-0005Jg-Eb for gclrrg-rainbows-talk@m.gmane.org; Thu, 08 Jul 2010 16:41:48 +0200 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id B4412185835A; Thu, 8 Jul 2010 10:41:45 -0400 (EDT) Received: from soykaf.lanpartei.de (lanpartei.de [217.11.53.122]) by rubyforge.org (Postfix) with ESMTP id CC752185835A for ; Thu, 8 Jul 2010 10:41:42 -0400 (EDT) Received: by soykaf.lanpartei.de (Postfix, from userid 8) id 2F0656C8BA; Thu, 8 Jul 2010 16:57:10 +0200 (CEST) Received: from wigowyr (e179000048.adsl.alicedsl.de [85.179.0.48]) by soykaf.lanpartei.de (Postfix) with ESMTPSA id 4C1916C7DA for ; Thu, 8 Jul 2010 16:57:09 +0200 (CEST) Am Wed, 7 Jul 2010 13:38:49 -0700 schrieb Eric Wong : > I haven't gotten a chance to look into the new WebSocket updates, but > can't you just read the 8 bytes off env["rack.input"]? > > env["rack.input"].read(8) > I tried that without success, it does not give me anything (seems to be empty), even if I rewind it beforehand. Niklas -- _ o o | o > = o) /\ - = < (|/ | \|) \ (| | \ /) | (\ \ _ / / \ The game of life is a game of boomerangs. Our thoughts, deeds and words return to us sooner or later with astounding accuracy. _______________________________________________ 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