HTTP Implementation

HTTP Uploader implementation

class dput.uploaders.http.HTTPUploader(profile)

Provides an interface to upload files through HTTP. Supports only anonymous uploads for the time being.

This is a subclass of dput.uploader.AbstractUploader

initialize(**kwargs)

See dput.uploader.AbstractUploader.initialize()

shutdown()

See dput.uploader.AbstractUploader.shutdown()

upload_file(filename, upload_filename=None)

See dput.uploader.AbstractUploader.upload_file()

exception dput.uploaders.http.HttpUploadException

Thrown in the event of a problem connecting, uploading to or terminating the connection with the remote server. This is a subclass of dput.exceptions.UploadException.