Changeset 6430 for cowsclient


Ignore:
Timestamp:
28/01/10 16:27:34 (9 years ago)
Author:
domlowe
Message:

passing cookies to owslib request

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cowsclient/trunk/cowsclient/controllers/wcsdown.py

    r6397 r6430  
    196196             
    197197            log.debug("wcs endpoint = %s" % (getCapabilitiesEndpoint,)) 
    198              
    199             wcs=WebCoverageService(getCapabilitiesEndpoint, version='1.0.0') 
     198            #requires OWSLib with cookie support 
     199            wcs=WebCoverageService(getCapabilitiesEndpoint, version='1.0.0',cookies= request.headers.get('Cookie', '')) 
    200200             
    201201            layers = [x[0] for x in wcs.items()] 
Note: See TracChangeset for help on using the changeset viewer.