Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@muzhig
Copy link

@muzhig muzhig commented Jun 10, 2012

Splited _pack_image method (in api.py) into two parts:

  • _pack_file reads file and compiles POST body and headers
  • _pack_image runs logic related to user's avatars and background images, calls _pack_file inside

Updated bind_api method (in bind.py) to use 'upload.twitter.com' host when 'with_media' arg was passed

Added update_with_media binding, that uses _pack_file to build postdata and passes 'with_media' to bind_api to switch host

@Aaron1011
Copy link
Contributor

@muzhig: This has been implemented in #364

@Aaron1011 Aaron1011 closed this Dec 22, 2013
@muzhig
Copy link
Author

muzhig commented Dec 22, 2013

I created this pull request 2 years ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants