Home | Trees | Index | Help |
|
---|
Package bioMoby :: Package webservice :: Module Invocators :: Class CGIPostMInvocator |
|
GeneralInvocator
--+
|
CGIPostMInvocator
Method Summary | |
---|---|
a command argument shall contain URL, fields and filelist | |
fields is a sequence of (name, value) elements for regular form fields. | |
execute(self)
| |
get_content_type(self,
filename)
| |
Post fields and files to an http host as multipart/form-data. | |
posturl(self)
| |
Inherited from GeneralInvocator | |
|
Method Details |
---|
__init__(self,
queryKey,
command,
userdir='/tmp',
timeout=None)
a command argument shall contain URL, fields and filelist
|
encode_multipart_formdata(self)fields is a sequence of (name, value) elements for regular form fields. files is a sequence of (name, filename, value) elements for data to be uploaded as files Return (content_type, body) ready for httplib.HTTP instance |
post_multipart(self, host, selector)Post fields and files to an http host as multipart/form-data. fields is a sequence of (name, value) elements for regular form fields. files is a sequence of (name, filename, value) elements for data to be uploaded as files Return the server's response page. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Wed Nov 3 17:06:09 2004 | http://epydoc.sf.net |