joaotavora / snooze

Common Lisp RESTful web development
207 stars 22 forks source link

correct way to return http status codes that are not errors #40

Open badbettty opened 3 months ago

badbettty commented 3 months ago

Good day !

What is the correct way, using the methods in the snooze package, to return a 201 'created' status code (with no response body) ?

is is to use snooze:http-condition (which seems to be about http errors and returns content) or to use/set snooze:status-code or ?

Thank you for any opinions