arsduo/batch_api — pull request #24 by dwaller (2013-07-15 10:45:39+00:00)
Title: Fix REQUEST_URI when using a non-standard endpoint

If you use an endpoint other than /batch e.g.

config.middleware.use BatchApi::RackMiddleware do |batch_config|
batch_config.endpoint = "/api/batch" # default /batch
end

then the REQUEST_URI gets mangled. This fixes it!