Re: Access gmail with pycurl.

2021-07-01 Thread Hongyi Zhao via curl-library
On Fri, Jul 2, 2021 at 12:16 PM Ray Satiro via curl-library wrote: > > On 6/29/2021 12:33 AM, Hongyi Zhao via curl-library wrote: > > On Tue, Jun 29, 2021 at 5:55 AM Daniel Stenberg wrote: > > On Sat, 26 Jun 2021, Hongyi Zhao via curl-library wrote: > > I noticed that libcurl, hence pycurl

Re: Access gmail with pycurl.

2021-07-01 Thread Ray Satiro via curl-library
On 6/29/2021 12:33 AM, Hongyi Zhao via curl-library wrote: On Tue, Jun 29, 2021 at 5:55 AM Daniel Stenberg wrote: On Sat, 26 Jun 2021, Hongyi Zhao via curl-library wrote: I noticed that libcurl, hence pycurl supports IMAP and IMAPS, so I want to know if I can use it to retrieve/remove emails

Re: curl websockets

2021-07-01 Thread Weston Schmidt via curl-library
I like the simplicity of the CURLOPT_CONNECT_ONLY=2L + ws:// or wss:// plan. If libcurl stops at the _The WebSocket Connection is Established_ point (https://datatracker.ietf.org/doc/html/rfc6455#page-20) when CURLOPT_CONNECT_ONLY=2L, then by definition that is only after the HTTP response 101

Re: curl websockets

2021-07-01 Thread Daniel Stenberg via curl-library
On Wed, 30 Jun 2021, Weston Schmidt wrote: Maybe this is a misunderstanding on my part, but I think (and my testing seems to confirm) that CURLOPT_CONNECT_ONLY will stop at the first connection to the first server encountered. If you have some other http redirector in front of the ultimate