curl/tests/data/test726
Mark Gaiser 65b563a96a
curl: add support for the IPFS protocols:
- ipfs://<cid>
- ipns://<cid>

This allows you tu use ipfs in curl like:
curl ipfs://<cid>
and
curl ipns://<cid>

For more information consult the readme at:
https://curl.se/docs/ipfs.html

Closes #8805
2023-09-23 11:02:10 +02:00

41 lines
619 B
Plaintext

<testcase>
<info>
<keywords>
IPFS
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<server>
http
</server>
<setenv>
#
# Set a home that doesn't have a ".ipfs" folder. %PWD should be good.
# This is to prevent the automatic gateway detection from finding a gateway file in your home folder.
HOME=%PWD
</setenv>
<name>
IPFS with no gateway URL (no environment or home file either)
</name>
<command>
ipfs://QmV5JejrpgUxnkZeFZYMxVCqAbKy3KdPXWXyuEDiMNZwUx
</command>
</client>
#
# Verify with no gateway url and no auto detection
<verify>
<errorcode>
37
</errorcode>
</verify>
</testcase>