From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.142.191.1 with SMTP id o1cs350009wff; Fri, 18 Dec 2009 11:21:09 -0800 (PST) Received: from mr.google.com ([10.90.60.2]) by 10.90.60.2 with SMTP id i2mr659111aga.36.1261164068483 (num_hops = 1); Fri, 18 Dec 2009 11:21:08 -0800 (PST) Received: by 10.90.60.2 with SMTP id i2mr97265aga.36.1261164067101; Fri, 18 Dec 2009 11:21:07 -0800 (PST) X-BeenThere: rack-devel@googlegroups.com Received: by 10.213.77.68 with SMTP id f4ls113ebk.2.p; Fri, 18 Dec 2009 11:21:05 -0800 (PST) Received: by 10.213.15.20 with SMTP id i20mr589813eba.17.1261164065430; Fri, 18 Dec 2009 11:21:05 -0800 (PST) Received: by 10.213.15.20 with SMTP id i20mr589812eba.17.1261164065410; Fri, 18 Dec 2009 11:21:05 -0800 (PST) Return-Path: Received: from mail-ew0-f215.google.com (mail-ew0-f215.google.com [209.85.219.215]) by gmr-mx.google.com with ESMTP id 12si407253ewy.6.2009.12.18.11.21.05; Fri, 18 Dec 2009 11:21:05 -0800 (PST) Received-SPF: neutral (google.com: 209.85.219.215 is neither permitted nor denied by best guess record for domain of ibc@aliax.net) client-ip=209.85.219.215; Received: by ewy7 with SMTP id 7so1475540ewy.18 for ; Fri, 18 Dec 2009 11:21:05 -0800 (PST) Received: by 10.213.2.84 with SMTP id 20mr4947423ebi.46.1261164064244; Fri, 18 Dec 2009 11:21:04 -0800 (PST) Return-Path: Received: from ibc-laptop.localnet ([212.230.46.89]) by mx.google.com with ESMTPS id 14sm2128316ewy.7.2009.12.18.11.21.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 18 Dec 2009 11:21:02 -0800 (PST) From: =?iso-8859-1?q?I=F1aki_Baz_Castillo?= To: rack-devel@googlegroups.com Subject: Re: How to use Rack::Auth::Digest::MD5 Date: Fri, 18 Dec 2009 20:21:00 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.28-16-generic; KDE/4.3.2; x86_64; ; ) References: <200910162033.57584.ibc@aliax.net> <200912181941.47218.ibc@aliax.net> <200912182019.29576.ibc@aliax.net> In-Reply-To: <200912182019.29576.ibc@aliax.net> MIME-Version: 1.0 Message-Id: <200912182021.00310.ibc@aliax.net> X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.219.215 is neither permitted nor denied by best guess record for domain of ibc@aliax.net) smtp.mail=ibc@aliax.net X-Original-Sender: ibc@aliax.net Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: X-Thread-Url: http://groups.google.com/group/rack-devel/t/d6cf30e9ccdc6dde X-Message-Url: http://groups.google.com/group/rack-devel/msg/1fcea37f7f15f0ac Sender: rack-devel@googlegroups.com List-Unsubscribe: , List-Subscribe: , Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable El Viernes, 18 de Diciembre de 2009, I=F1aki Baz Castillo escribi=F3: > El Viernes, 18 de Diciembre de 2009, I=F1aki Baz Castillo escribi=F3: > > El Viernes, 18 de Diciembre de 2009, Genta IHA escribi=F3: > > > # authentication needed for users area > > > env =3D callcc do |cont| > > > auth =3D Rack::Auth::Digest::MD5.new(cont, realm) {|u| USERS[re= alm] > > > [user] } > > > > I get an error: what is "callcc"? >=20 > Ops, 'callcc' exists in Ruby1.8, but not in 1.9 ! Sorry, it does exist, but "continuation" library must be loaded (while in 1= =2E8=20 it seems to be loaded always).=20 =2D-=20 I=F1aki Baz Castillo