Skip to content

Conversation

giriss
Copy link
Contributor

@giriss giriss commented Jul 20, 2025

This will be useful for sending 204 No Content http status.
Instead of send_resp(conn, :no_content, "") we can now do send_resp(conn, :no_content).

What do you guys think of it?

I find it more idiomatic to do this:

send_resp(conn, :no_content)

Instead of:

send_resp(conn, :no_content, "")

This will be useful for sending 204 No Content http status.

Instead of `send_resp(conn, :no_content, "")` we can now do
`send_resp(conn, :no_content)`.
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.

1 participant