Closed MartinLau7 closed 1 year ago
Thank you for this proposal and the attached code. I think this is a nice addition and users could definitively benefit from this. As far as I can tell, this feature is also completely optional, which is really important because there are many situations where you want to avoid an additional OPTIONS request if you already know your server's capabilities.
Would you mind opening a PR for this?
Yes, I'll try opening a PR when I get back from my vacation
Thanks! This looks like a very good idea indeed. Looking forward to the PR 👍🏼
Added in #154.
I think that could be obtained by the OPTIONS request server Extensions attribute, refer to TUS-Protocol-OPTIONS
add
usServerInfo.swift
In
TUSProtocolExtension.swift
add functon In
TUSAPI.swift