Comparison

spec/scansion/http_upload.scs @ 11309:b59aed75dc5e

mod_http_file_share: Let's write another XEP-0363 implementation This variant is meant to improve upon mod_http_upload in some ways: * Handle files much of arbitrary size efficiently * Allow GET and PUT URLs to be different * Remember Content-Type sent by client * Avoid dependency on mod_http_files * Built-in way to delegate storage to another httpd
author Kim Alvefur <zash@zash.se>
date Tue, 26 Jan 2021 03:19:17 +0100
child 11313:e53894d26092
comparison
equal deleted inserted replaced
11308:5d4d90d1eabb 11309:b59aed75dc5e
1 [Client] Romeo
2 password: password
3 jid: filesharingenthusiast@localhost/krxLaE3s
4
5 -----
6
7 Romeo connects
8
9 Romeo sends:
10 <iq to='upload.localhost' type='get' id='932c02fe-4461-4ad4-9c85-54863294b4dc' xml:lang='en'>
11 <request content-type='text/plain' filename='verysmall.dat' xmlns='urn:xmpp:http:upload:0' size='5'/>
12 </iq>
13
14 Romeo receives:
15 <iq id='932c02fe-4461-4ad4-9c85-54863294b4dc' from='upload.localhost' type='result'>
16 <slot xmlns='urn:xmpp:http:upload:0'>
17 <get url='{scansion:any}'/>
18 <put url='{scansion:any}'>
19 <header name='Authorization'></header>
20 </put>
21 </slot>
22 </iq>
23
24 Romeo disconnects
25
26 # recording ended on 2021-01-27T22:10:46Z