Skip to main content

Flask-based HTTP service to handle XMPP HTTP upload requests from Prosody mod_http_upload_external

Project description

This provides a Flask-based HTTP service which can be used with mod_http_upload_external.

Configuration

The configuration file is specified using the environment variable XMPP_HTTP_UPLOAD_CONFIG. It must contain the full path to the configuration file.

The configuration file must contain the following keys:

SECRET_KEY

A bytes object which is the shared secret between the Prosody module and this service. See the mod_http_upload_external documentation for details.

DATA_ROOT

Path to the directory where the service stores the uploaded files.

Issues, Bugs, Limitations

  • This service does not handle any kind of quota.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xmpp-http-upload-0.1.tar.gz (1.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page