Skip to content
  • notapatch's avatar
    cfdf868f
    Update Rack::Head documentation to match code behavior · cfdf868f
    notapatch authored
    In commit 449039a8,
    ActionDispatch::Head was replaced with Rack::Head in the
    middleware. However, the documentation was not changed.
    
    Rack::Head code behaviour is not to change HEAD into GET it is to
    close the body of all HEAD requests. This commit fixes the docs
    to show this.
    
    The left-over ActionDisplayt::Head documentation is,
    unsurprisingly, wrong. Rack::Head code behaviour is not to change
    HEAD into GET it is to close the body of all HEAD requests.
    
    This commit fixes the docs to show this.
    cfdf868f
    Update Rack::Head documentation to match code behavior
    notapatch authored
    In commit 449039a8,
    ActionDispatch::Head was replaced with Rack::Head in the
    middleware. However, the documentation was not changed.
    
    Rack::Head code behaviour is not to change HEAD into GET it is to
    close the body of all HEAD requests. This commit fixes the docs
    to show this.
    
    The left-over ActionDisplayt::Head documentation is,
    unsurprisingly, wrong. Rack::Head code behaviour is not to change
    HEAD into GET it is to close the body of all HEAD requests.
    
    This commit fixes the docs to show this.
Loading