From ea22a77bc6e2f2a4fca1b72c5ab30f9fd3670dc8 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 7 Mar 2016 14:35:20 +0100 Subject: [PATCH] XEP-0363: Announce maximum file size by means of XEP-0128 --- xep-0363.xml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/xep-0363.xml b/xep-0363.xml index 50879135..149b0949 100644 --- a/xep-0363.xml +++ b/xep-0363.xml @@ -28,6 +28,12 @@ daniel@gultsch.de daniel@gultsch.de + + 0.2 + 2016-03-07 + dg +

Announce maximum file size by means of &xep0128;

+
0.1.2 2016-02-16 @@ -66,7 +72,8 @@ -

An entity advertises support for this protocol by including the "urn:xmpp:http:upload" in its service discovery information features as specified in &xep0030; or section 6.3 of &xep0115;. A users server SHOULD include any known entities that provide such services into its service discovery items.

+

An entity advertises support for this protocol by including the "urn:xmpp:http:upload" in its service discovery information features as specified in &xep0030; or section 6.3 of &xep0115;. To avoid unnecessary round trips an entity SHOULD also include the maximum file size as specified in &xep0128; if such a limitation exisits. The field name MUST be "max-file-size" and the value MUST be in bytes.

+

A users server SHOULD include any known entities that provide such services into its service discovery items.

]]> - + + + urn:xmpp:http:upload + + + 5242880 + + ]]>
@@ -145,7 +160,7 @@ - 20000 + 20000 ]]>