OAuth 1.0 header params ignored by netflix rest api

**preamble:**
First, and I hope you're not tired of hearing this, but Requests is awesome! I cannot tell you how much I appreciate Requests after wrangling with urllib and urllib2 just to do basic authentication. Second congratulations on graduating to version 1.0! That's fantastic. Before long this will be included in the Python basic distribution!

**expected but observed:**
I am new to OAuth 1.0, but the issue I'm having is that I'm passing several header params, but some of them are being ignored. For example if I pass 3 parameters along with the oauth1 params: `"output": "json", "term":"star wars", "max_results": "10"`, but the `max_results` is always ignored, so is `start_index` if I include it, otherwise everything else works perfectly.

**additional info:**
Maybe it's related to this issue: https://github.com/kennethreitz/requests/pull/684

**Specifics:**
Requests 0.12.1 (or Requests 0.14.2) I tried both
python 2.7.3
ubuntu 12.10
netflix REST api 1.5

**Sample Code:** https://gist.github.com/4249412

**other code:**
I know there are a couple of python packages out there that do this ...
https://github.com/amalakar/pyflix2
http://code.google.com/p/pyflix/
https://github.com/michaelhelmick/python-netflix
https://github.com/ryszard/python-netflix
... but I was wondering why this didn't work out of the box. I'm sure it's some n00bie mistake I'm making, but I've searched for a few days, and I can't figure it out. Sorry if it turns out to be something stupid on my part.


This is definitely the same issue as #684. If I use:

```
headers = {'max_results': '10', 'start_index':'100', 'output': 'json', 'term':term}
url = URL + '?' + urllib.urlencode(headers)
return requests.get(url, auth=self.headeroauth) 
```

instead of

```
return requests.get(url, auth=self.headeroauth,
                            headers = {'max_results': '10',
                                            'start_index':'100',
                                            'output': 'json',
                                            'term':term})
```

it works fine.

The extra params are not being included in the auth header, which I believe oauth requires.

Does this mean that #684 is not merged from the development branch into master? or that #684 should be reopened?


@mikofski no you're just doing it wrong. You should be doing

``` python
return requests.get(url, params={'max_results': '10', 'start_index': '100', 'output': 'json', 'term': term},
                    auth=self.headeroauth)
```


To be clear @mikofski there's a difference between headers and parameters. In your first example, you're encoding what you call headers to be used as parameters and then you append them to `URL`. If you look at the [docs](http://python-requests.org) you'll see headers are entirely different from parameters. If the Netflix API is calling them headers in their documentation then they need to be corrected.


WOW! Thank you @sigmavirus24! I am a moron! The netflix api does call them params, it was my stupid mistake. I can't believe how long I was stymied by this, when as usual the answer was right in front of me.


@mikofski don't beat yourself up. We all mistakes. I could probably go on for a couple hours about the mistakes I've made that held me up for days or weeks on end. If you have any future questions, feel free to email me directly or the mailing list. I'll answer on either. Cheers!