blob: ed4f1bca3b1c121f365b2b5581a06df5b51a6ad8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
[Client] Romeo
password: password
jid: filesharingenthusiast@localhost/krxLaE3s
-----
Romeo connects
Romeo sends:
<iq to='upload.localhost' type='get' id='932c02fe-4461-4ad4-9c85-54863294b4dc' xml:lang='en'>
<request content-type='text/plain' filename='verysmall.dat' xmlns='urn:xmpp:http:upload:0' size='5'/>
</iq>
Romeo receives:
<iq id='932c02fe-4461-4ad4-9c85-54863294b4dc' from='upload.localhost' type='result'>
<slot xmlns='urn:xmpp:http:upload:0'>
<get url='{scansion:any}'/>
<put url='{scansion:any}'>
<header name='Authorization'></header>
</put>
</slot>
</iq>
Romeo sends:
<iq to='upload.localhost' type='get' id='ac56d83f-a627-4732-8399-60492d1210b6' xml:lang='en'>
<request content-type='text/plain' filename='invalid/filename.dat' xmlns='urn:xmpp:http:upload:0' size='1000'/>
</iq>
Romeo receives:
<iq id='ac56d83f-a627-4732-8399-60492d1210b6' from='upload.localhost' type='error'>
<error type='modify'>
<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Invalid filename</text>
</error>
</iq>
Romeo disconnects
# recording ended on 2021-01-27T22:10:46Z
|