1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-01 02:30:39 +08:00

fix content type detection to allow adding via curl

fixed in cmdkit1.0

License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
This commit is contained in:
keks
2017-12-18 16:04:50 +01:00
committed by Jeromy
parent 7d57def06e
commit 012e3381f1
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
# TODO before merge
- t0110 fails (marked as known breakage for now) Issue: go-ipfs-cmds#47
- t0410 fails (marked as known breakage for now)

View File

@ -13,7 +13,7 @@ test_init_ipfs
# Verify that that API add command returns size
test_launch_ipfs_daemon
test_expect_failure "API Add response includes size field" '
test_expect_success "API Add response includes size field" '
echo "hi" | curl -s -F file=@- "http://localhost:$API_PORT/api/v0/add" | grep "\"Size\": *\"11\""
'
test_kill_ipfs_daemon