Hi,
We are using Krakend as an API gateway for our online services and one of our services is in charge of uploading files (for which we are attempting to use uppy and TUS).
Similar to others, luraproject/lura#436 krakend/krakend-ce#846 we are facing the problem that Krakend does not support HEAD request. This prevents us from using TUS directly but we are making use of Verb Tunnelling and the support of https://tus.io/protocols/resumable-upload#x-http-method-override to pass GET requests through the API gateway and then reassess them as HEAD at the service level. The problem we are facing is that we tried to use the method of https://uppy.io/docs/tus/#onbeforerequestreq-file so that the HEAD requests are transformed as GET but without much success.
The request is hence to support more widely Verb tunnelling and provide methods on the component to make use of it.
Solution
could be something like overwriteHeadRequest(req) or overwritePathRequest(req)
Alternatives
could not find any simple solution
(issue was initially reported on uppy project but closed there transloadit/uppy#6026)