Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix py2.6 for expect 100 continue #312

Merged
merged 3 commits into from
Jun 19, 2014
Merged

Conversation

jamesls
Copy link
Member

@jamesls jamesls commented Jun 19, 2014

This PR is #303 (which was reverted because it didn't work in py2.6 + the fix for py2.6. The py2.6 is in this commit.

The issue is that py2.6's _send_request is different
than the other supported python versions. Because of this,
we have to add a check such that we don't send the body if
this response_received flag has been set.

Verified this works on py2.6, py2.7, py3.3, py3.4. Integration tests passing on all versions.

cc @danielgtaylor

jamesls added 3 commits June 18, 2014 17:47
This creates an HTTP (not HTTPS) subclass and just
copies the class dictionary of the HTTP method overrides
into the HTTPS subclass.  Added an integration test for this
as well.
The issue is that py2.6's _send_request is different
than the other supported python versions.  Because of this,
we have to add a check such that we don't send the body if
this response_received flag has been set.
operation param is now added to the event.
@danielgtaylor
Copy link
Member

LGTM 🚢-it!

@jamesls jamesls merged commit 42bcda7 into boto:develop Jun 19, 2014
@jamesls jamesls deleted the expect-100-fixed branch June 23, 2014 18:19
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