From: Max Benjamin Date: 2006-11-25T12:41:39+09:00 Subject: Re: simple ruby proxy Timothy Goddard wrote: > Max Benjamin wrote: >> >> appreciated. >> Best, >> Max >> >> -- >> Posted via http://www.ruby-forum.com/. > > OpenURI can be used to open files. A script like this would be a major > security problem. The problem here with being asked to save it is that > you aren't sending the proper MIME type. Look at the CGI docs for how > to do this. Ok, I'm still having some trouble getting this to work. I looked at the cgi docs but find them a little daunting. Is there some example code someone could point me to? Thanks. -- Posted via http://www.ruby-forum.com/.