kennethreitz/requests — Issue #349: Wrong handling of params given as bytes object
Author: piotr-dobrogost
Created: 2012-01-10 12:51:30+00:00
State: open

```python
from collections import OrderedDict
from urllib import urlencode
import requests

params = OrderedDict([('first', 1), ('second', 2), ('third', 3)])
requests.get('https://example.org/', params=urlencode(params))
```
ends with

`ValueError: dictionary update sequence element #0 has length 1; 2 is required` at `models.py", line 82` (`self.params = dict(params or []`)