[Standards] UPDATED: XEP-0363 (HTTP File Upload)

Evgeny Khramtsov xramtsov at gmail.com
Tue Dec 5 09:47:51 UTC 2017

Tue, 05 Dec 2017 10:31:36 +0100
Jonas Wielicki <jonas at wielicki.name> wrote:

> I don’t think that’s ok. ejabberd would violate the expectation of
> the user that either a type="result" or type="error" is returned, if
> they simply filter out the "erroneous" stanza.

Obviously ejabberd replies with a correct error message, currently it
will send an error stanza with diagnostic text, e.g.: "Unknown tag
<retry/> qualified by namespace 'urn:xmpp:http:upload:0'"

> Also, I still don’t believe that intermediate servers should validate
> content which doesn’t concern them.

I disagree. The feature is useful for client developers for example, so
they get validation errors when sending garbage and, thus, can fix
the code easily. For example, some of our customers just add new
elements within existing namespace (such as 'jabber:client'), and this
will be easily rejected by the validator.

More information about the Standards mailing list