-
Notifications
You must be signed in to change notification settings - Fork 35
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
Add chance to set the HTTP status in httpf #156
Labels
enhancement
New feature or request
Comments
Yes, that would be reasonable if it becomes much easier to use. However, I think the request method is available in the parsed header (from spork/http.janet). |
Thanks. I am unsure what you mean by the method's availability, but I will prepare PR for the HTTP status code ASAP. |
psagers
added a commit
to psagers/spork
that referenced
this issue
Apr 19, 2024
psagers
added a commit
to psagers/spork
that referenced
this issue
Apr 19, 2024
psagers
added a commit
to psagers/spork
that referenced
this issue
Apr 19, 2024
bakpakin
added a commit
that referenced
this issue
Apr 21, 2024
Fix #156: Look for (dyn :response-code) in spork/httpf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I already tried httpf on several projects and like the design choices. Yet, I am missing a chance to set the HTTP status code in the handler. Would you accept the PR with a mechanism similar to how response headers are set in the current version with a dynamic?
The text was updated successfully, but these errors were encountered: