Skip to content

add --cgi flag #965

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LevitatingBusinessMan
Copy link

Fixes #960.

This flag will make slirmrb output the content-type: text/html header before printing any content, using ruby's build-in cgi library.

It will also expose the parsed cgi class as a local.

@minad
Copy link
Member

minad commented Jun 28, 2025

Thanks. Can you please add a basic test to test_commands.rb?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding a CGI utility
2 participants