Re: css image url's and :img problem

2007-11-22 Thread Jonas Pfenniger
I know what I will say won't help you : FastCGI is a total waste of time. Apart if you're stucked with that setup, a reverse proxy of any kind does just fine and is much less hassle to maintain/operate. Contrary to FastCGI, HTTP is a well understood and supported protocol, with lots of different

How many CRLFs between header and body?

2007-11-22 Thread Brendan Taylor
Just ran into a problem[1]. It seems to have been introduced by changeset 224 [2], a fix for ticket 126 [3]. The root is the number of CRLFs Camping puts between the headers and the body of the response. This has changed at least 3 times; right now we're back to 1. (ie. every header ends in a

Re: How many CRLFs between header and body?

2007-11-22 Thread Brendan Taylor
I guess I should have waited a bit longer to send that email, I think I've tracked it down. When one of the values in @headers contains an empty list we get a superfluous CRLF, ie: Z = \r\n headers = {Content-Type=text/plain;charset=utf-8, Set-Cookie=[]} headers.map{|k,v|[*v].map{|x|[k,v]*: