1. 01 Sep, 2021 1 commit
    • Nils Goroll's avatar
      Improve partial local writes · 1c980ecc
      Nils Goroll authored
      If we can only save part of the request body locally, there is no need to discard
      all of it.
      
      Yet, if checksums are enabled, we will still fail later with a 413.
      1c980ecc
  2. 31 Aug, 2021 1 commit
    • Nils Goroll's avatar
      Fix behavior for empty file with .done(url) · 515e0395
      Nils Goroll authored
      If we set a done url (which is sent in Content-Location or Location for
      a 301) with an empty file (POST with Upload-Length: 0), we would trigger
      the two removed assertions. They are bad because a zero sized upload
      is legit and can have a Content-Location.
      515e0395
  3. 23 Mar, 2021 1 commit
  4. 22 Mar, 2021 1 commit
  5. 22 Feb, 2021 2 commits
  6. 16 Jan, 2021 2 commits
  7. 04 Jan, 2021 1 commit
  8. 03 Jan, 2021 5 commits
  9. 09 Dec, 2020 2 commits
  10. 17 Sep, 2020 2 commits
  11. 16 Sep, 2020 3 commits
  12. 15 Sep, 2020 2 commits
  13. 08 Sep, 2020 10 commits
  14. 07 Sep, 2020 4 commits
  15. 06 Sep, 2020 1 commit
  16. 04 Sep, 2020 2 commits
    • Nils Goroll's avatar
      rework .done() behaviour · 43c292fc
      Nils Goroll authored
      - use the new dedicated field to store the location such that we can
        still properly send metadata with responses to HEAD requests
      
      - always send the location, not just for GET 301s
      
      - no need to generate a 410 as long as we still have the metadata
      
      - retire TUS_REDIRECT type, we do not need it (files with a redirect
        remain intact).
      43c292fc
    • Nils Goroll's avatar
      give the redirect location its own field · 0e2552a8
      Nils Goroll authored
      This implies a file version change.
      
      Later in the project, we would want to upgrade existing files, but for
      now, I assume the number of users be so close to zero that we can put
      the burdon on them to lose their existing uploads once during upgrade.
      0e2552a8