mirror of
https://github.com/moparisthebest/xeps
synced 2024-08-13 16:53:48 -04:00
XEP-0363: Minor fixes
Add correct dependencies, cite RFC 5256 and start sentences with an uppercase character in error messages.
This commit is contained in:
parent
067e3ca4d7
commit
34a246ab73
@ -16,8 +16,8 @@
|
|||||||
<approver>Council</approver>
|
<approver>Council</approver>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<spec>XMPP Core</spec>
|
<spec>XMPP Core</spec>
|
||||||
<spec>XEP-0001</spec>
|
<spec>XEP-0030</spec>
|
||||||
<spec>Etc.</spec>
|
<spec>XEP-0128</spec>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<supersedes/>
|
<supersedes/>
|
||||||
<supersededby/>
|
<supersededby/>
|
||||||
@ -133,7 +133,7 @@
|
|||||||
<content-type>image/jpeg</content-type>
|
<content-type>image/jpeg</content-type>
|
||||||
</request>
|
</request>
|
||||||
</iq>]]></example>
|
</iq>]]></example>
|
||||||
<p>The upload service responds with both a PUT and a GET URL wrapped by a <slot> element. The service SHOULD keep the file name and especially the file ending intact. Using the same hostname for PUT and GET is OPTIONAL. The host SHOULD provide Transport Layer Security.</p>
|
<p>The upload service responds with both a PUT and a GET URL wrapped by a <slot> element. The service SHOULD keep the file name and especially the file ending intact. Using the same hostname for PUT and GET is OPTIONAL. The host SHOULD provide Transport Layer Security (&rfc5256;).</p>
|
||||||
<example caption='The upload service responsd with a slot'><![CDATA[
|
<example caption='The upload service responsd with a slot'><![CDATA[
|
||||||
<iq from='upload.montague.tld'
|
<iq from='upload.montague.tld'
|
||||||
id='step_03'
|
id='step_03'
|
||||||
@ -158,7 +158,7 @@
|
|||||||
</request>
|
</request>
|
||||||
<error type='modify'>
|
<error type='modify'>
|
||||||
<not-acceptable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas' />
|
<not-acceptable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas' />
|
||||||
<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas>file too large. the maximum file size is 20000 bytes</text>
|
<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas>File too large. The maximum file size is 20000 bytes</text>
|
||||||
<file-too-large xmlns='urn:xmpp:http:upload'>
|
<file-too-large xmlns='urn:xmpp:http:upload'>
|
||||||
<max-file-size>20000</max-file-size>
|
<max-file-size>20000</max-file-size>
|
||||||
</file-too-large>
|
</file-too-large>
|
||||||
|
Loading…
Reference in New Issue
Block a user