make sure a Content-Length header exists and that the response.body is not nil before trying to call methods on it. Rack does not allow HTTP 204 responses to have a content-length header set. [#5038 state:resolved]
make sure a Content-Length header exists and that the response.body is not nil before trying to call methods on it. Rack does not allow HTTP 204 responses to have a content-length header set. [#5038 state:resolved]

starknx/rails,88rabbit/newRails,Erol/rails,elfassy/rails,utilum/rails,mijoharas/rails,amoody2108/TechForJustice,baerjam/rails,yawboakye/rails,kirs/rails-1,Stellenticket/rails,EmmaB/rails-1,esparta/rails,schuetzm/rails,illacceptanything/illacceptanything,baerjam/rails,samphilipd/rails,Envek/rails,printercu/rails,fabianoleittes/rails,lcreid/rails,illacceptanything/illacceptanything,kaspth/rails,alecspopa/rails,Spin42/rails,joonyou/rails,felipecvo/rails,stefanmb/rails,vassilevsky/rails,utilum/rails,felipecvo/rails,mohitnatoo/rails,kddeisz/rails,xlymian/rails,riseshia/railsguides.kr,mtsmfm/rails,schuetzm/rails,printercu/rails,Spin42/rails,vipulnsward/rails,ngpestelos/rails,rails/rails,repinel/rails,ttanimichi/rails,coreyward/rails,gfvcastro/rails,bolek/rails,prathamesh-sonpatki/rails,odedniv/rails,untidy-hair/rails,lcreid/rails,riseshia/railsguides.kr,pschambacher/rails,pschambacher/rails,samphilipd/rails,riseshia/railsguides.kr,tgxworld/rails,maicher/rails,gfvcastro/rails,repinel/rails,yalab/rails,shioyama/rails,mijoharas/rails,Stellenticket/rails,mohitnatoo/rails,hanystudy/rails,Envek/rails,illacceptanything/illacceptanything,vipulnsward/rails,arjes/rails,kamipo/rails,georgeclaghorn/rails,schuetzm/rails,ttanimichi/rails,betesh/rails,88rabbit/newRails,88rabbit/newRails,eileencodes/rails,EmmaB/rails-1,betesh/rails,tjschuck/rails,alecspopa/rails,sergey-alekseev/rails,untidy-hair/rails,elfassy/rails,kddeisz/rails,mtsmfm/railstest,yahonda/rails,yasslab/railsguides.jp,utilum/rails,mechanicles/rails,palkan/rails,gavingmiller/rails,rails/rails,tijwelch/rails,gavingmiller/rails,notapatch/rails,flanger001/rails,lucasmazza/rails,matrinox/rails,gauravtiwari/rails,jeremy/rails,shioyama/rails,mtsmfm/rails,travisofthenorth/rails,bradleypriest/rails,BlakeWilliams/rails,fabianoleittes/rails,koic/rails,bogdanvlviv/rails,deraru/rails,MichaelSp/rails,sergey-alekseev/rails,shioyama/rails,rails/rails,rossta/rails,bradleypriest/rails,rossta/rails,notapatch/rails,arunagw/rails,mtsmfm/railstest,yalab/rails,xlymian/rails,matrinox/rails,prathamesh-sonpatki/rails,yahonda/rails,aditya-kapoor/rails,georgeclaghorn/rails,Vasfed/rails,eileencodes/rails,yawboakye/rails,starknx/rails,voray/rails,kmcphillips/rails,mijoharas/rails,marklocklear/rails,Sen-Zhang/rails,lcreid/rails,MSP-Greg/rails,ledestin/rails,mechanicles/rails,felipecvo/rails,vipulnsward/rails,arunagw/rails,tijwelch/rails,notapatch/rails,yasslab/railsguides.jp,pvalena/rails,jeremy/rails,tjschuck/rails,brchristian/rails,prathamesh-sonpatki/rails,gcourtemanche/rails,kddeisz/rails,shioyama/rails,Sen-Zhang/rails,kachick/rails,yahonda/rails,kaspth/rails,bogdanvlviv/rails,kenta-s/rails,kenta-s/rails,MSP-Greg/rails,MichaelSp/rails,vassilevsky/rails,mohitnatoo/rails,MSP-Greg/rails,amoody2108/TechForJustice,rossta/rails,untidy-hair/rails,palkan/rails,Vasfed/rails,richseviora/rails,EmmaB/rails-1,richseviora/rails,brchristian/rails,prathamesh-sonpatki/rails,gcourtemanche/rails,tjschuck/rails,baerjam/rails,kddeisz/rails,yhirano55/rails,flanger001/rails,arunagw/rails,yahonda/rails,riseshia/railsguides.kr,mathieujobin/reduced-rails-for-travis,lucasmazza/rails,tijwelch/rails,kamipo/rails,sealocal/rails,travisofthenorth/rails,hanystudy/rails,iainbeeston/rails,illacceptanything/illacceptanything,fabianoleittes/rails,xlymian/rails,illacceptanything/illacceptanything,assain/rails,hanystudy/rails,aditya-kapoor/rails,rbhitchcock/rails,sealocal/rails,yawboakye/rails,betesh/rails,vipulnsward/rails,flanger001/rails,joonyou/rails,bradleypriest/rails,assain/rails,Edouard-chin/rails,tgxworld/rails,schuetzm/rails,kirs/rails-1,gfvcastro/rails,Vasfed/rails,assain/rails,gfvcastro/rails,richseviora/rails,eileencodes/rails,Edouard-chin/rails,assain/rails,yalab/rails,rafaelfranca/omg-rails,illacceptanything/illacceptanything,ngpestelos/rails,ttanimichi/rails,odedniv/rails,Stellenticket/rails,rails/rails,elfassy/rails,aditya-kapoor/rails,odedniv/rails,voray/rails,kmayer/rails,tjschuck/rails,yhirano55/rails,deraru/rails,mechanicles/rails,voray/rails,arjes/rails,kenta-s/rails,BlakeWilliams/rails,pvalena/rails,yawboakye/rails,palkan/rails,esparta/rails,ledestin/rails,kmcphillips/rails,arunagw/rails,BlakeWilliams/rails,georgeclaghorn/rails,illacceptanything/illacceptanything,kirs/rails-1,iainbeeston/rails,kachick/rails,yasslab/railsguides.jp,samphilipd/rails,joonyou/rails,bogdanvlviv/rails,starknx/rails,printercu/rails,mathieujobin/reduced-rails-for-travis,repinel/rails,travisofthenorth/rails,joonyou/rails,rafaelfranca/omg-rails,Envek/rails,bolek/rails,betesh/rails,Erol/rails,notapatch/rails,fabianoleittes/rails,sealocal/rails,untidy-hair/rails,koic/rails,mtsmfm/rails,esparta/rails,lucasmazza/rails,brchristian/rails,ledestin/rails,amoody2108/TechForJustice,illacceptanything/illacceptanything,mathieujobin/reduced-rails-for-travis,Envek/rails,utilum/rails,deraru/rails,palkan/rails,coreyward/rails,iainbeeston/rails,MichaelSp/rails,rafaelfranca/omg-rails,eileencodes/rails,sergey-alekseev/rails,pvalena/rails,Erol/rails,arjes/rails,gavingmiller/rails,iainbeeston/rails,koic/rails,kmcphillips/rails,printercu/rails,Sen-Zhang/rails,marklocklear/rails,kmayer/rails,Stellenticket/rails,rbhitchcock/rails,tgxworld/rails,pvalena/rails,gauravtiwari/rails,Vasfed/rails,Erol/rails,kamipo/rails,baerjam/rails,mechanicles/rails,pschambacher/rails,travisofthenorth/rails,mtsmfm/railstest,yalab/rails,Spin42/rails,aditya-kapoor/rails,kaspth/rails,ngpestelos/rails,yhirano55/rails,marklocklear/rails,kachick/rails,coreyward/rails,illacceptanything/illacceptanything,stefanmb/rails,yasslab/railsguides.jp,repinel/rails,esparta/rails,illacceptanything/illacceptanything,maicher/rails,Edouard-chin/rails,illacceptanything/illacceptanything,deraru/rails,jeremy/rails,matrinox/rails,bogdanvlviv/rails,stefanmb/rails,illacceptanything/illacceptanything,illacceptanything/illacceptanything,alecspopa/rails,BlakeWilliams/rails,MSP-Greg/rails,flanger001/rails,tgxworld/rails,yhirano55/rails,mohitnatoo/rails,jeremy/rails,lcreid/rails,illacceptanything/illacceptanything,kmcphillips/rails,gauravtiwari/rails,kmayer/rails,maicher/rails,rbhitchcock/rails,Edouard-chin/rails,bolek/rails,vassilevsky/rails,georgeclaghorn/rails,gcourtemanche/rails,illacceptanything/illacceptanything