test735 (887B)
1 <testcase> 2 <info> 3 <keywords> 4 IPFS 5 </keywords> 6 </info> 7 8 # 9 # Server-side 10 <reply> 11 <data nocheck="yes"> 12 HTTP/1.1 200 OK 13 Date: Tue, 09 Nov 2010 14:49:00 GMT 14 Server: test-server/fake 15 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 16 ETag: "21025-dc7-39462498" 17 Accept-Ranges: bytes 18 Content-Length: 21 19 Connection: close 20 Content-Type: text/plain 21 Funny-head: yesyes 22 23 Hello curl from IPFS 24 </data> 25 </reply> 26 27 # 28 # Client-side 29 <client> 30 <features> 31 ipfs 32 </features> 33 <server> 34 http 35 </server> 36 <name> 37 IPNS with path, query args and gateway with path 38 </name> 39 <command> 40 --ipfs-gateway http://%HOSTIP:%HTTPPORT/some/path "ipns://fancy.tld/a/b?foo=bar&aaa=bbb" 41 </command> 42 </client> 43 44 # 45 # Verify data after the test has been "shot" 46 <verify> 47 <protocol crlf="yes"> 48 GET /some/path/ipns/fancy.tld/a/b?foo=bar&aaa=bbb HTTP/1.1 49 Host: %HOSTIP:%HTTPPORT 50 User-Agent: curl/%VERSION 51 Accept: */* 52 53 </protocol> 54 </verify> 55 </testcase>