#845 Add support for HTTP DELETE on the PUT URL to mod_http_upload

Reporter Florian Schmaus
Owner Nobody
Created
Updated
Stars ★ (1)  
Tags
  • Type-Enhancement
  • Priority-Medium
  • Status-Blocked
  1. Florian Schmaus on

    For Smack's integration test(s) of XEP-0363 HTTP File Upload, it would be great if a HTTP DELETE on the PUT URL would delete the file. This would allow me to delete the files created during the integration test after the tests ran.

  2. Zash on

    The current code simply sets the GET and PUT URLs to the same and relies on PUT being done before GET. This would depend on #732 so that the PUT URL can be kept secret, or anyone would be able to delete the files.

    Changes
    • tags Status-Blocked
  3. Florian Schmaus on

    An alternative would be the ability to delete files via adhoc commands/xep133.

  4. Zash on

    Or with the current XEP version, use authentication headers.

New comment