tweepy/tweepy — pull request #297 by Aaron1011 (2013-06-09 16:01:22+00:00)
Title: Add account/update_profile_banner endpoint

I've added the update_profile_banner endpoint: https://dev.twitter.com/docs/api/1.1/post/account/update_profile_banner

In order for this to work, I've added an optional parameter called form_field to the _pack_image method. It allows the name field in the POST data to be changed.\

I've also made the execute method in binder.py accept 201 and 202 as non-error response codes. This is necessary because the endpoint will return 200, 201, or 202 to indicate success.