Diff

spec/scansion/extdisco.scs @ 11753:c4599a7c534c

mod_external_services: Validate required attributes on credentials requests
author Kim Alvefur <zash@zash.se>
date Sun, 29 Aug 2021 23:26:19 +0200
parent 11036:79e410cd7f6e
line wrap: on
line diff
--- a/spec/scansion/extdisco.scs	Tue Aug 31 13:03:44 2021 +0200
+++ b/spec/scansion/extdisco.scs	Sun Aug 29 23:26:19 2021 +0200
@@ -52,6 +52,20 @@
 		</credentials>
 	</iq>
 
+Romeo sends:
+	<iq type='get' xml:lang='sv' id='lx5' to='localhost'>
+		<credentials xmlns='urn:xmpp:extdisco:2'>
+			<service host='default.example' />
+		</credentials>
+	</iq>
+
+Romeo receives:
+	<iq type='error' id='lx5' from='localhost'>
+		<error type='modify'>
+			<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
+		</error>
+	</iq>
+
 Romeo disconnects
 
 # recording ended on 2020-07-18T16:47:57Z