Changeset 622:bc68ca0d2c0a in documentViewer for SrvTxtUtils.py


Ignore:
Timestamp:
Dec 12, 2014, 3:27:58 PM (9 years ago)
Author:
casties
Branch:
default
Message:

make annotationServerUrl work with protocol-relative URL ().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SrvTxtUtils.py

    r621 r622  
    281281            try:
    282282                logging.debug("getHttp(lib2)Data(#%s %ss) url=%s"%(cnt+1,timeout,url))
     283                # I would prefer at least disable_ssl_certificate_validation=insecure
     284                # but python < 2.7.9 doesn't do SNI :-(
    283285                h = httplib2.Http(cache=cache, timeout=float(timeout), disable_ssl_certificate_validation=True)
    284286                if username:
Note: See TracChangeset for help on using the changeset viewer.