Classes | |
class | HTTPSCertAuth |
class | HTTPSCertAuthenticate |
Functions | |
def | encode (args, files) |
def | filetype (filename) |
def | marshall (args, files, request) |
def | upload (url, args, files) |
def visDQMUpload.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 40 of file visDQMUpload.py.
References filetype(), and str.
Referenced by marshall().
def visDQMUpload.filetype | ( | filename | ) |
def visDQMUpload.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 63 of file visDQMUpload.py.
Referenced by upload().
def visDQMUpload.upload | ( | url, | |
args, | |||
files | |||
) |
Definition at line 75 of file visDQMUpload.py.
References visDQMUtils.classifyDQMFile(), FrontierConditions_GlobalTag_cff.file, and marshall().