sendgrid / python-http-client

Twilio SendGrid's Python HTTP Client for calling APIs
https://sendgrid.com
MIT License
126 stars 101 forks source link

does this support 100-continue? #13

Closed AmirTadmor closed 6 years ago

thinkingserious commented 7 years ago

Hello @AmirTadmor,

I don't know. Could you please provide an example of what you are trying to do?

AmirTadmor commented 7 years ago

I am trying to upload data to a server using HTTP PUT. The problem is that the server is expecting to receive the headers first, then if it is willing to receive the data, it returns 100-continue and awaits the data from the client. Python standard http.client ignores those 100-continue replies and just stuck until the server gives up and close the connection

thinkingserious commented 7 years ago

@AmirTadmor,

Thanks for the elaboration. No, this support has not been added to this library.

I'm re-labeling this issue so that it may be considered.

akshitsarin commented 7 years ago

I Guess it should work for now

thinkingserious commented 7 years ago

Hi @akshitsarin,

Did you have any success?

With Best Regards,

Elmer