Commit 012e3381 authored by keks's avatar keks Committed by Jeromy

fix content type detection to allow adding via curl

fixed in cmdkit1.0

License: MIT
Signed-off-by: default avatarkeks <keks@cryptoscope.co>
parent 7d57def0
# TODO before merge
- t0110 fails (marked as known breakage for now) Issue: go-ipfs-cmds#47
- t0410 fails (marked as known breakage for now)
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment