[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Provide support for the HTTPS url

From: Bhuvaneswaran Arumugam <bhuvan_at_collab.net>
Date: 2006-07-28 15:51:29 CEST


Please find attached the patch.
Provide support for the HTTPS url and few more enhancements.

Patch by: Bhuvaneswaran Arumugam <bhuvan@collab.net>

* tools/client-side/server-vsn.py
  (global): Do not import "string" library when it is not necessary and
  indent the script to 4 whitespaces.
  (print_version): Handle the HTTPS url. In httplib, the HTTP and HTTPS
  functions are included just for backward compatibility. Moreover,
  HTTPS support is only available if the socket module is compiled with
  SSL support. So, use HTTPConnection and HTTPSConnection functions

  Handle redirect requests (302), if the requested resource resides
  temporarily under a different URL.

In addition, i suggest to rename this script as server-version.py as it
makes more sense, imo.


Received on Fri Jul 28 15:52:08 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.