Proxy support

3 views
Skip to first unread message

David Hautbois

unread,
Jun 22, 2007, 2:33:35 PM6/22/07
to GData Python Client Library Contributors
Hi
I develop an application, Erminig, for Nokia N800 to sync GPE Calendar
and Google Calendar :
http://david.hautbois.free.fr

Some users connect the Nokia N800 to mobile phone to access to
internet.
This method uses a proxy in the mobile phone.

But the GData Python Client Library does not support proxy.

Can You add this feature to the todo list ?

Thanks.

David.

PS : I'm anxious about the future of the GData Python Client:
I posted some messages about the exceptions management.
And I have no answer.
I can understand the contributors are too overbooked to accept all
feature request.
But I will be happy to have a short message saying :
Hi David
Yes, exceptions are not fully supported.
but We have to time to do it.
or
Better exceptions support is not priority.
or
Your proposition is bad -> junk

I'm just a user of this library.
Contribute to it is out of my skill.

Thanks for this awesome library.

Jeff S

unread,
Jun 22, 2007, 5:58:34 PM6/22/07
to GData Python Client Library Contributors
Hi David,

Your feature request comes at a great time, I've been thinking about
the lack of proxy support myself over the past week. I'll add this as
a feature request and I invite anyone who feels up to the task to dive
in. If no one else takes it on, I'll get to it :)

On Jun 22, 11:33 am, David Hautbois <david.hautb...@gmail.com> wrote:
> Hi
> I develop an application, Erminig, for Nokia N800 to sync GPE Calendar
> and Google Calendar :http://david.hautbois.free.fr
>
> Some users connect the Nokia N800 to mobile phone to access to
> internet.
> This method uses a proxy in the mobile phone.
>
> But the GData Python Client Library does not support proxy.
>
> Can You add this feature to the todo list ?
>
> Thanks.
>
> David.
>
> PS : I'm anxious about the future of the GData Python Client:
> I posted some messages about the exceptions management.
> And I have no answer.
> I can understand the contributors are too overbooked to accept all
> feature request.
> But I will be happy to have a short message saying :
> Hi David
> Yes, exceptions are not fully supported.
> but We have to time to do it.
> or
> Better exceptions support is not priority.
> or
> Your proposition is bad -> junk

Apologies for not getting back to you on your calendar questions. Rest
assured this library is active and is a high priority for me. I've
done some work on the Google Apps modules recently and have done some
light refactoring of the core module for Google data, and I'm always
looking for new ideas on what to tackle next.

In another thread, you asked about a calendar exception and the
calendar recurrence issue is something that Lane has been looking into
on the calendar API group. It turns out it is an issue with the
server. I wasn't sure if this was the exceptions issue you mentioned
above, was this it?

http://groups.google.com/group/gdata-python-client-library-contributors/browse_thread/thread/275564051bd55931

>
> I'm just a user of this library.
> Contribute to it is out of my skill.
>
> Thanks for this awesome library.

You're welcome and thank you for your feedback. You've brought up some
excellent issues and hearing from you has been very helpful.

Jeff

David Hautbois

unread,
Jul 9, 2007, 3:23:16 PM7/9/07
to GData Python Client Library Contributors
Hi
Some news about proxy support ?

Thanks.

David.

> http://groups.google.com/group/gdata-python-client-library-contributo...

Jeff S

unread,
Jul 13, 2007, 2:20:03 PM7/13/07
to GData Python Client Library Contributors
Hi David,

I haven't really started on proxy support. I've been working on
improving the performance in XML parsing but I see that there has been
some interest in issue number 42 ( http://code.google.com/p/gdata-python-client/issues/detail?id=42
). Any takers? :)

Thank you,

Jeff

Takashi MATSUO

unread,
Jul 13, 2007, 8:07:44 PM7/13/07
to gdata-python-client-...@googlegroups.com
Hello,

I will look into it on this weekend :)

Regards,

2007/7/14, Jeff S <j...@google.com>:


--
Takashi Matsuo
matsuo....@gmail.com

Takashi MATSUO

unread,
Jul 15, 2007, 9:48:17 PM7/15/07
to gdata-python-client-...@googlegroups.com
Hello,

Unfortunately, the bottom line is that proxy support has not implemented yet.

On this weekend, I realize that this issue was more complicated than I
had estimated before I started.

I had found that httplib does not have good proxy support. So I must
re-write many codes for fully proxy support.

In the most simplest case, http proxy and http destination, the issue
is very simple. But once the destination became https server, the
tasks growth.

Anyway, I will spend some time on next weekend, again.

Regards,

2007/7/14, Takashi MATSUO <matsuo....@gmail.com>:


--
Takashi Matsuo
matsuo....@gmail.com

Takashi Matsuo

unread,
Jul 18, 2007, 6:30:07 AM7/18/07
to gdata-python-client-...@googlegroups.com

Hello,

Fortunately, today I could take some time for working on proxy
support. Please see the attachment. It is a patch against svn revision
166.

Now, my code checks four environmental variables, http_proxy,
https_proxy, proxy_username, and proxy_password.

Regards,

--
Takashi Matsuo <tma...@sios.com>
http://mars.shehas.net/~tmatsuo/public-key.txt
GPG Key fingerprint =
0C1F D86C 5E35 A687 B740 5F39 E93F 73FD DF2A 7B0C

gdata-python-client-proxy-support.diff

Jeff S

unread,
Jul 20, 2007, 5:58:15 PM7/20/07
to GData Python Client Library Contributors
This looks great Takashi, thank you very much! This should be in the
repository shortly. I'll add some unit tests for _PrepareConnection,
and if you had any feel free to send them along.

Happy coding,

Jeff

On Jul 18, 3:30 am, Takashi Matsuo <tmat...@sios.com> wrote:
> Hello,
>
> Fortunately, today I could take some time for working on proxy
> support. Please see the attachment. It is a patch against svn revision
> 166.
>
> Now, my code checks four environmental variables, http_proxy,
> https_proxy, proxy_username, and proxy_password.
>
> Regards,
>
> --

> Takashi Matsuo <tmat...@sios.com>http://mars.shehas.net/~tmatsuo/public-key.txt


> GPG Key fingerprint =
> 0C1F D86C 5E35 A687 B740 5F39 E93F 73FD DF2A 7B0C
>

> gdata-python-client-proxy-support.diff
> 6KDownload

Jeff S

unread,
Jul 20, 2007, 6:29:36 PM7/20/07
to GData Python Client Library Contributors
This code is in revision 167.

David, feel free to try this out and let us know how it goes. I'll be
writing test cases soon.

Thank you,

Jeff

David Hautbois

unread,
Jul 21, 2007, 5:24:55 PM7/21/07
to GData Python Client Library Contributors

On Jul 21, 12:29 am, Jeff S <j...@google.com> wrote:
> This code is in revision 167.
>
> David, feel free to try this out and let us know how it goes. I'll be
> writing test cases soon.
>
> Thank you,

Hi
My first tests are successfull !
I will find some beta testers to have more feedback.

Thanks !

David.

David Hautbois

unread,
Jul 25, 2007, 2:11:49 PM7/25/07
to GData Python Client Library Contributors
Hi
This evening, I received the first and good feedback about proxy
feature. (I found only one tester, the others are on holidays ?)
But a little comment before the next release :
Here the environmental variables to set : http_proxy, https_proxy,
proxy-username, proxy-password
Could You write it all with _ or - ?

Could we have a method like this :
gdata.calendar.service.SetProxy(http_proxy, https_proxy,
proxy_username, proxy_password)
to set the proxy parameters
gdata.calendar.service.SetProxy()
to disable the proxy

Thanks, and great work !

David.

Takashi MATSUO

unread,
Jul 25, 2007, 6:27:22 PM7/25/07
to gdata-python-client-...@googlegroups.com
Hello,

Thank you for your feedback :-)
I will implement those features on this weekend.

2007/7/26, David Hautbois <david.h...@gmail.com>:


--
Takashi Matsuo
matsuo....@gmail.com

Takashi MATSUO

unread,
Aug 1, 2007, 4:07:10 AM8/1/07
to gdata-python-client-...@googlegroups.com
Hello list,

2007/7/26, Takashi MATSUO <matsuo....@gmail.com>:


> Hello,
>
> Thank you for your feedback :-)
> I will implement those features on this weekend.

Unfortunately, I could not take time for those functionality.
I added a comment to issue #42 not to forget about David's feedback.

http://code.google.com/p/gdata-python-client/issues/detail?id=42

So, developpers, please don't close issue #42.

Regards,

--
Takashi Matsuo
matsuo....@gmail.com

Reply all
Reply to author
Forward
0 new messages