From: Philipp Meier Date: 2002-07-09T04:40:26+09:00 Subject: Re: cgi.rb - sending same named headers --lEGEL1/lMxI0MVQ2 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 09, 2002 at 04:37:27AM +0900, Dennis Sutch wrote: > Does cgi.rb have the ability to send two headers of the same name? For > cache-control reasons, my application needs to send these two headers to = the > browser: >=20 > Cache-Control: no-store, no-cache, must-revalidate > Cache-Control: post-check=3D0, pre-check=3D0" >=20 > Using this code: >=20 > require 'cgi' > aSession =3D CGI::new > aSession.out ( > 'Cache-Control' =3D> 'no-store, no-cache, must-revalidate', > 'Cache-Control' =3D> 'post-check=3D0, pre-check=3D0') {''} Doesnt does the following what you want? require 'cgi' aSession =3D CGI::new aSession.out ( 'Cache-Control' =3D> 'no-store, no-cache, must-revalidate, post-check=3D0= , pre-check=3D0') {''} -billy. --=20 Meisterbohne S=F6flinger Stra=DFe 100 Tel: +49-731-399 499-0 eL=F6sungen 89077 Ulm Fax: +49-731-399 499-9 --lEGEL1/lMxI0MVQ2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9KeqvfBriNoqItSYRAjdSAJ4vr6EZN3DBciZEI3k44m8MQqrFUgCfXSoC mXdHRkjUcoI5Tf9UdI9lJL4= =Kfk9 -----END PGP SIGNATURE----- --lEGEL1/lMxI0MVQ2--