Skip to content
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

Specify an empty body for NIL bodies. #135

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

Conversation

mtstickney
Copy link
Contributor

Wookie's docs for SEND-RESPONSE specify that it sets
Content-Length if the :body argument is specified, so we should
pass it for explicitly supplied bodies that are NIL. Without
it, Content-Length won't be set and the browser will hang
waiting for the connection to close.

Note: I just got a PR merged for wookie to fix another issue with NIL
bodies in wookie that causes the same behavior, so if you're going
to test you'll want to pull the latest wookie tip.

Wookie's docs for SEND-RESPONSE specify that it sets
Content-Length if the :body argument is specified, so we should
pass it for explicitly supplied bodies that are NIL. Without
it, Content-Length won't be set and the browser will hang
waiting for the connection to close.
@coveralls
Copy link

coveralls commented Jun 26, 2016

Coverage Status

Coverage remained the same at 90.665% when pulling 36cd19e on mtstickney:wookie_empty_body into 84d49a9 on fukamachi:master.

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.

2 participants