commit | 55f6d8c0fb401a825f4721410612a57a29a3c36e | [log] [tgz] |
---|---|---|
author | Attila Fazekas <afazekas@redhat.com> | Sun Mar 10 10:32:54 2013 +0100 |
committer | Attila Fazekas <afazekas@redhat.com> | Sun Mar 10 12:43:57 2013 +0100 |
tree | bdc1e86c80aec9ae668bc74ba6ea9d44825eb508 | |
parent | 4526c4560be128ec466475f27ce610ccf017301b [diff] |
Fix rate limit handling and logging On rate limit event the request new request sent to the server, but the original response returned to the caller, instead of the new one. Other changes: * Create http_obj in the __init__ * Fix >400 warning * Simplify rate limit handling * Ensure exception is raised on 413 response * The full response body will be part of the 413 exceptions Change-Id: I6c38c343618f92e0e79843aaa662a3d24026702b