MiniCPM5-2B-WebGPU-Pi-HTTP / validation /http-shell-live.json
Mike0021's picture
Document live verification of any-HTTPS requests and public Gist model trial
1b0b730 verified
Raw History Blame Contribute Delete
7.95 kB
{
"date": "2026-09-16T10:08:27.552Z",
"url": "https://mike0021-minicpm5-2b-webgpu-pi-http.static.hf.space/",
"cases": [
{
"name": "new-host-json",
"command": "curl -fsS https://dummyjson.com/products/1 -o product.json && jq -r .id product.json",
"elapsedMs": 175,
"stdout": "1\n",
"stderr": "",
"exitCode": 0,
"passed": true
},
{
"name": "public-gist",
"command": "curl -fsS https://gist.githubusercontent.com/mbostock/4063269/raw/b111d979d7fcd0fabb554cccd37caf2691f31706/flare.csv -o gist.csv && head -n 1 gist.csv",
"elapsedMs": 248,
"stdout": "id,value\n",
"stderr": "",
"exitCode": 0,
"passed": true
},
{
"name": "json-get-save",
"command": "curl -fsS https://jsonplaceholder.typicode.com/todos/1 -o todo.json && jq -r .title todo.json",
"elapsedMs": 57,
"stdout": "delectus aut autem\n",
"stderr": "",
"exitCode": 0,
"passed": true
},
{
"name": "github-pipeline",
"command": "set -o pipefail; curl -fsS https://api.github.com/repos/huggingface/transformers.js | jq -r '.full_name, .license.spdx_id'",
"elapsedMs": 301,
"stdout": "huggingface/transformers.js\nApache-2.0\n",
"stderr": "",
"exitCode": 0,
"passed": true
},
{
"name": "hf-metadata",
"command": "set -o pipefail; curl -fsS https://huggingface.co/api/models/openbmb/MiniCPM5-2B | jq -r .id",
"elapsedMs": 150,
"stdout": "openbmb/MiniCPM5-2B\n",
"stderr": "",
"exitCode": 0,
"passed": true
},
{
"name": "raw-github",
"command": "curl -fsS https://raw.githubusercontent.com/huggingface/transformers.js/main/package.json -o package.json && jq -r .name package.json",
"elapsedMs": 184,
"stdout": "@huggingface/transformers-monorepo\n",
"stderr": "",
"exitCode": 0,
"passed": true
},
{
"name": "head",
"command": "curl -I https://jsonplaceholder.typicode.com/todos/1",
"elapsedMs": 28,
"stdout": "HTTP/1.1 200 \r\ncache-control: max-age=43200\r\ncontent-type: application/json; charset=utf-8\r\nexpires: -1\r\npragma: no-cache\r\n",
"stderr": "",
"exitCode": 0,
"passed": true
},
{
"name": "post-json",
"command": "set -o pipefail; curl -fsS https://httpbin.org/post -H 'Content-Type: application/json' -d '{\"demo\":\"browser-http\",\"value\":144}' | jq -c .json",
"elapsedMs": 1112,
"stdout": "{\"demo\":\"browser-http\",\"value\":144}\n",
"stderr": "",
"exitCode": 0,
"passed": true
},
{
"name": "request-headers",
"command": "set -o pipefail; curl -fsS https://httpbin.org/headers -H 'X-Demo: browser-http' | jq -r '.headers[\"X-Demo\"]'",
"elapsedMs": 192,
"stdout": "browser-http\n",
"stderr": "",
"exitCode": 0,
"passed": true
},
{
"name": "http-404",
"command": "curl -fsS https://jsonplaceholder.typicode.com/does-not-exist",
"elapsedMs": 32,
"stdout": "",
"stderr": "curl: (22) The requested URL returned error: 404\n",
"exitCode": 22,
"passed": true
},
{
"name": "http-rejected",
"command": "curl -fsS http://example.com/",
"elapsedMs": 5,
"stdout": "",
"stderr": "curl: (1) Only HTTPS URLs are supported. Use https:// instead.\n",
"exitCode": 1,
"passed": true
},
{
"name": "cors-failure",
"command": "curl -fsS https://huggingface.co/",
"elapsedMs": 16,
"stdout": "",
"stderr": "curl: (1) HTTP request failed: the server may block browser requests (CORS), or the connection failed. No proxy is used.\n",
"exitCode": 1,
"passed": true
},
{
"name": "redirect-failure",
"command": "curl -fsSL https://httpbin.org/redirect-to?url=https%3A%2F%2Fhttpbin.org%2Fget",
"elapsedMs": 406,
"stdout": "",
"stderr": "curl: (1) HTTP redirect cannot be followed safely in this browser shell. Use the final HTTPS URL directly (including exact capitalization).\n",
"exitCode": 1,
"passed": true
},
{
"name": "timeout",
"command": "curl -fsS --max-time 1 https://httpbin.org/delay/5",
"elapsedMs": 1011,
"stdout": "",
"stderr": "curl: (1) HTTP request timed out after 1000 ms.\n",
"exitCode": 1,
"passed": true
},
{
"name": "failed-pipeline",
"command": "set -o pipefail; curl -fsS http://example.com/ | jq .",
"elapsedMs": 8,
"stdout": "",
"stderr": "curl: (1) Only HTTPS URLs are supported. Use https:// instead.\n",
"exitCode": 1,
"passed": true
},
{
"name": "cancel",
"elapsedMs": 215,
"stdout": "",
"stderr": "bash: execution aborted\n",
"exitCode": 124,
"passed": true
},
{
"name": "file-survives-reload",
"passed": true
}
],
"errors": [],
"requests": [
{
"url": "https://us.aws.cdn.hf.co/xet-bridge-us/6aaa5289bf060ea7e49eb019/d81eefe183e03ef2a3ef725d98c46112d3b579d9e08970500932debe0471a537",
"method": "GET"
},
{
"url": "https://dummyjson.com/products/1",
"method": "GET"
},
{
"url": "https://gist.githubusercontent.com/mbostock/4063269/raw/b111d979d7fcd0fabb554cccd37caf2691f31706/flare.csv",
"method": "GET"
},
{
"url": "https://jsonplaceholder.typicode.com/todos/1",
"method": "GET"
},
{
"url": "https://api.github.com/repos/huggingface/transformers.js",
"method": "GET"
},
{
"url": "https://huggingface.co/api/models/openbmb/MiniCPM5-2B",
"method": "GET"
},
{
"url": "https://raw.githubusercontent.com/huggingface/transformers.js/main/package.json",
"method": "GET"
},
{
"url": "https://jsonplaceholder.typicode.com/todos/1",
"method": "HEAD"
},
{
"url": "https://httpbin.org/post",
"method": "POST"
},
{
"url": "https://httpbin.org/headers",
"method": "GET"
},
{
"url": "https://jsonplaceholder.typicode.com/does-not-exist",
"method": "GET"
},
{
"url": "https://huggingface.co/",
"method": "GET"
},
{
"url": "https://httpbin.org/redirect-to?url=https%3A%2F%2Fhttpbin.org%2Fget",
"method": "GET"
},
{
"url": "https://httpbin.org/get",
"method": "GET"
},
{
"url": "https://httpbin.org/delay/5",
"method": "GET"
},
{
"url": "https://httpbin.org/delay/7",
"method": "GET"
},
{
"url": "https://jsonplaceholder.typicode.com/todos/1",
"method": "GET"
},
{
"url": "https://us.aws.cdn.hf.co/xet-bridge-us/6aaa5289bf060ea7e49eb019/d81eefe183e03ef2a3ef725d98c46112d3b579d9e08970500932debe0471a537",
"method": "GET"
}
],
"mobileOverflow": false,
"device": {
"vendor": "amd",
"architecture": "rdna-3",
"features": [
"depth32float-stencil8",
"chromium-experimental-subgroup-matrix",
"rg11b10ufloat-renderable",
"texture-formats-tier1",
"bgra8unorm-storage",
"chromium-experimental-multi-draw-indirect",
"texture-compression-bc",
"dual-source-blending",
"chromium-experimental-sampling-resource-table",
"core-features-and-limits",
"chromium-experimental-timestamp-query-inside-passes",
"float32-filterable",
"indirect-first-instance",
"float32-blendable",
"subgroup-size-control",
"texture-compression-unaligned",
"depth-clip-control",
"texture-compression-bc-sliced-3d",
"timestamp-query",
"texture-formats-tier2",
"shader-f16",
"clip-distances",
"primitive-index",
"texture-component-swizzle",
"subgroups"
]
},
"passed": true
}