pipermerriam/flex — pull request #26 by pipermerriam (2014-11-18 02:44:06+00:00)
Title: Piper/update request response normalization

### What is the problem / feature ?

- While the validation for requests and responses was decoupled, the actual `Request` and `Response` objects used internally were not.
- Also, only supported request/response objects from the `requests` library when `urllib` and `urllib2` are still common.

### How did it get fixed / implemented ?

- Changed `flex.http.normalize_request` and `flex.http.normalize_response` to not have any hard ties to each other.
- Added support for `urllib` and `urllib2` responses, and the `urllib2.Request` request object.
- [ ] documentation around the supported request/response objects updated.

### How can someone test / see it ?

Code

*Here is a cute baby animal picture for your troubles...*

![cute-ducks-l](https://cloud.githubusercontent.com/assets/824194/5081796/168a7d00-6e92-11e4-9874-1449103ea8d0.jpg)