@jodosha when removing the code that was cleaning the body for HEAD requests, many tests fail because we are using lint for Rack::MockResponse.
To fix that I use Rack::Head middleware to solve it, also had to add a special case for the routing_spec by modifying the body depending on the type of request.
@GustavoCaso I merged unstable here, because I updated that branch to make the build to pass with the latest rubocop. This should make CI to pass for this PR as well.
Fixes #164
@jodosha when removing the code that was cleaning the body for
HEAD
requests, many tests fail because we are usinglint
forRack::MockResponse
.To fix that I use
Rack::Head
middleware to solve it, also had to add a special case for therouting_spec
by modifying the body depending on the type of request.WDYT?