quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test736 (992B)


      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 <setenv>
     37 IPFS_PATH=%LOGDIR/.ipfs
     38 </setenv>
     39 <name>
     40 IPFS with IPFS_PATH set, no trailing slash
     41 </name>
     42 <command>
     43 ipfs://bafybeidecnvkrygux6uoukouzps5ofkeevoqland7kopseiod6pzqvjg7u
     44 </command>
     45 <file name="%LOGDIR/.ipfs/gateway" >
     46 http://%HOSTIP:%HTTPPORT
     47 </file>
     48 </client>
     49 
     50 #
     51 # Verify data after the test has been "shot"
     52 <verify>
     53 <protocol crlf="yes">
     54 GET /ipfs/bafybeidecnvkrygux6uoukouzps5ofkeevoqland7kopseiod6pzqvjg7u HTTP/1.1
     55 Host: %HOSTIP:%HTTPPORT
     56 User-Agent: curl/%VERSION
     57 Accept: */*
     58 
     59 </protocol>
     60 </verify>
     61 </testcase>