Classes | |
class | HTTPSCertAuth |
class | HTTPSCertAuthenticate |
Functions | |
def | checkFileName (fileName) |
def | checkSSL (opts) |
def | encode (args, files) |
def | filetype (filename) |
def | getURL (filename, destination) |
def | main (args) |
def | marshall (args, files, request) |
def | print_help (args) |
def | registerFileAtLogServer (filename, destination, tags) |
def | startUpload (url, filename) |
def | upload (url, args, files) |
def alcaDQMUpload.checkFileName | ( | fileName | ) |
def alcaDQMUpload.checkSSL | ( | opts | ) |
Definition at line 116 of file alcaDQMUpload.py.
Referenced by main().
def alcaDQMUpload.encode | ( | args, | |
files | |||
) |
Encode form (name, value) and (name, filename, type) elements into multi-part/form-data. We don't actually need to know what we are uploading here, so just claim it's all text/plain.
Definition at line 31 of file alcaDQMUpload.py.
References filetype(), and str.
Referenced by BeautifulSoup.UnicodeDammit._detectEncoding(), trigger::TriggerEvent.addCollections(), util.getRunInfo.getFilesForRun(), HGCal64BitRandomCodecImpl.HGCal64BitRandomCodecImpl(), marshall(), and util.getRunInfo.runGetDatasetsAvailable().
def alcaDQMUpload.filetype | ( | filename | ) |
def alcaDQMUpload.getURL | ( | filename, | |
destination | |||
) |
Definition at line 200 of file alcaDQMUpload.py.
References createfilelist.int, and python.rootplot.root2matplotlib.replace().
Referenced by main().
def alcaDQMUpload.main | ( | args | ) |
Definition at line 237 of file alcaDQMUpload.py.
References checkFileName(), checkSSL(), getURL(), registerFileAtLogServer(), and startUpload().
def alcaDQMUpload.marshall | ( | args, | |
files, | |||
request | |||
) |
Marshalls the arguments to the CGI script as multi-part/form-data, not the default application/x-www-form-url-encoded. This improves the transfer of the large inputs and eases command line invocation of the CGI script.
Definition at line 52 of file alcaDQMUpload.py.
Referenced by upload().
def alcaDQMUpload.print_help | ( | args | ) |
Definition at line 91 of file alcaDQMUpload.py.
def alcaDQMUpload.registerFileAtLogServer | ( | filename, | |
destination, | |||
tags | |||
) |
Definition at line 220 of file alcaDQMUpload.py.
References python.rootplot.root2matplotlib.replace().
Referenced by main().
def alcaDQMUpload.startUpload | ( | url, | |
filename | |||
) |
Definition at line 178 of file alcaDQMUpload.py.
References FrontierConditions_GlobalTag_cff.file, and upload().
Referenced by main().
def alcaDQMUpload.upload | ( | url, | |
args, | |||
files | |||
) |
Definition at line 64 of file alcaDQMUpload.py.
References marshall().
Referenced by CommissioningHistosUsingDb.doUploadAnal(), CommissioningHistosUsingDb.doUploadConf(), startUpload(), ApvTimingHistosUsingDb.uploadConfigurations(), LatencyHistosUsingDb.uploadConfigurations(), and FineDelayHistosUsingDb.uploadConfigurations().