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
Labels

Comments

@Aetherus
Copy link

@Aetherus Aetherus commented Mar 10, 2014

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

This comment has been minimized.

Copy link
Member

@rafaelfranca rafaelfranca commented Mar 10, 2014

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

This comment has been minimized.

Copy link
Member

@sikachu 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

This comment has been minimized.

Copy link
Member

@jeremy jeremy commented Apr 27, 2014

@jeremy jeremy closed this 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
You can’t perform that action at this time.