You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that would be a decent solution, with the downside that maybe not all webservers could support it. I can particularly think of lighttpd that does not allow to add arguments to CGI binaries. But as long as spawn-fcgi works, which is the most common usecase then I think it's fine.
Hey!
I personally sometimes use slim as a CGI utility.
slimrb
works fine for this but to set the headers I use a little ruby prefix likeThis is needed to adhere to the CGI specifications. Additionally this method cannot be used to correctly set the Content-Size.
So now I use a little helper utility command called
slimcgi
which looks like this:It exposes the CGI class to the template and correctly sets the headers.
Do you think a utility like this could be added to this repository?
The text was updated successfully, but these errors were encountered: