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

"render nothing: true" does not render exactly nothing #14336

Closed
Aetherus opened this issue Mar 10, 2014 · 3 comments · Fixed by #14883
Closed

"render nothing: true" does not render exactly nothing #14336

Aetherus opened this issue Mar 10, 2014 · 3 comments · Fixed by #14883

Comments

@Aetherus
Copy link

Due to some third-party api's need, I need to render EXACTLY nothing (i.e. a response with content length equals precisely to zero), but "render nothing: true" renders responses with content length 1, a single space.

For now, I have to use " render text: '' " instead.

@rafaelfranca
Copy link
Member

Yes, we are aware of this. It is because a old Safari bug.

I think we can change this already but I have to check carefully.

@sikachu
Copy link
Member

sikachu commented Mar 11, 2014

It's being that way to work around a bug in Safari. I'm not sure if we still has that bug, but it was introduced in cb0f8fd and 807df4f

@jeremy
Copy link
Member

jeremy commented Apr 27, 2014

#14883

@jeremy jeremy closed this as completed Apr 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants