Mercurial > prosody-modules
diff mod_http_upload_external/README.markdown @ 3360:0149954cee37
mod_http_upload_external: Add note about correct behaviour in the presence of multiple versions
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 21 Oct 2018 15:19:58 +0100 |
parents | 3d01ab6b1186 |
children | 5741e6511f3d |
line wrap: on
line diff
--- a/mod_http_upload_external/README.markdown Sun Oct 21 15:09:29 2018 +0100 +++ b/mod_http_upload_external/README.markdown Sun Oct 21 15:19:58 2018 +0100 @@ -110,7 +110,11 @@ It is probable that a future v3 will be specified that allows carrying information about the uploader identity, allowing the implementation of per-user quotas and limits. -Implementations may implement one or more versions of the protocol simultaneously. The XMPP server generates the URLs and ultimately selects which version will be used. +Implementations may implement one or more versions of the protocol simultaneously. The XMPP server generates the URLs and +ultimately selects which version will be used. + +XMPP servers MUST only generate URLs with **one** of the versions listed here. However in case multiple parameters are +present, upload services MUST **only** use the token from the highest parameter version that they support. #### Version 1 (v)