kivy/kivy — pull request #678 by akshayaurora (2012-09-12 22:44:01+00:00)
Title: UrlRequest: ensure on_success is called for small chunks too

As mentioned by Eric. S. Bullington (oushri) on irc. Using the following code
http://pastebin.com/bwQ1fvfE
The function got_twitter_trends doesn't get called.

This fix ensure that on_success is called along with ensuring that on_progress gets called for last chunk. Previously on_progress function was intermittently not getting called for the last chunk.