add test about presign with content-type
@@ -9,7 +9,7 @@ echo "CREATE STAGE presign_stage;" | $MYSQL_CLIENT_CONNECT
# Most arguments is the same with previous, except:
# -X PUT: Specify the http method
-curl -s -w "%{http_code}\n" -X PUT -o /dev/null "`echo "PRESIGN UPLOAD @presign_stage/hello_world.txt" | $MYSQL_CLIENT_CONNECT | cut -f 3`" -d "Hello, World!"
+curl -s -w "%{http_code}\n" -X PUT -o /dev/null -H Content-Type:application/octet-stream "`echo "PRESIGN UPLOAD @presign_stage/hello_world.txt CONTENT_TYPE=application/octet-stream" | $MYSQL_CLIENT_CONNECT | cut -f 3`" -d "Hello, World!"
# LIST will output file's updated time, so we only take first three of output:
# file_name, file_size, file_md5
