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:
Florian Schmaus 2016-03-13 12:18:39 +01:00 committed by Sam Whited
parent 067e3ca4d7
commit 34a246ab73
1 changed files with 4 additions and 4 deletions

View File

@ -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 &lt;slot&gt; 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 &lt;slot&gt; 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>