fog/fog-core — pull request #44 by elight (2014-05-02 21:24:52+00:00)
Title: Add "base_path" Connection option to allow for simpler consumption of RESTlike APIs

The "base_path" option is used to set a base path for a web service end point. Calls to `request`, on a `Connection` with base_path set, merge `base_path` and `path` into a single path that is then passed to `excon`.

### Rationale

We've found, while working on `fog-openstack-core`, that we very much want a feature like this on Connection. Otherwise, we are either hardcoding full paths in our individual request methods or delegating responsibility for munging the path somewhere higher up in the class family. Both of these seemed suboptimal.