test(router): freeze the differential, application, WS and boot-error corpus
The parity corpus from ROUTER-CORPUS §2, with every expected output captured
from ed47836 rather than written by hand.
Matcher: 24 hand-picked scenarios (precedence, constraint ties, exact versus
catch-all, equal-rank and same-pattern ties with reversed twins, implicit and
explicit HEAD, streaming GETs, canonical Allow, encoding, case, Unicode and
normalization) plus 40 scenarios from a fixed-seed generator
(router-parity-gen-v1, seed 10908). The generated file stores the seed, the
rules and every generated input; the test regenerates and requires a match,
so changing the generator cannot move the baseline. Each scenario runs through
the oracle and the live router and both must equal the capture, compared by
declaration ID, decoded params, implicitHead, ordered Allow, or the
normalization error.
Application level: status, Allow, headers and body through app.fetch and a
Node socket, including HEAD body suppression, 400/404/405 and OPTIONS.
WebSocket, separate from HTTP: first-registered selection, an HTTP route at the
same path not taking the upgrade, and the reserved mesh control path, through
app.upgrade and the Node listener. This freezes one adapter disagreement as
observed: a user @Ws('/__mesh__/control') on an app without mesh is refused by
app.upgrade (1008) and served by the Node listener.
Boot-time rejections: pattern compilation, local ambiguity and mesh splicing
(duplicate exports, same-shape exports, local-over-remote precedence with its
warning, and a remote static outranking a local parameter route).
Refs #109
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
18 files changed
+16595
No files matched your search
@@ -0,0 +1,597 @@
|
||||
{
|
||||
"revision": "ed47836c9820c47bf4ed5e902d91e019abdb110a",
|
||||
"data": [
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/a/b",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"aB\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/a/x",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"aId\",\"params\":{\"id\":\"x\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/a/x/y",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"aRest\",\"params\":{\"rest\":\"x/y\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/a",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"aRest\",\"params\":{\"rest\":\"\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/users/42",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"usersId\",\"params\":{\"id\":\"42\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/users/alice",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"usersValue\",\"params\":{\"value\":\"alice\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/users/a%20b",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"usersValue\",\"params\":{\"value\":\"a b\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/n/42",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"nNum\",\"params\":{\"num\":\"42\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/n/ff",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"nCode\",\"params\":{\"code\":\"ff\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/files",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"files\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/files/",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"files\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/files/a%2Fb",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"filesRest\",\"params\":{\"rest\":\"a/b\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/m",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"mGet\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "HEAD",
|
||||
"raw": "/m",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "OPTIONS",
|
||||
"raw": "/m",
|
||||
"status": 204,
|
||||
"headers": {
|
||||
"allow": "GET, HEAD, POST, OPTIONS",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "PUT",
|
||||
"raw": "/m",
|
||||
"status": 405,
|
||||
"headers": {
|
||||
"allow": "GET, HEAD, POST, OPTIONS",
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Method Not Allowed\"}"
|
||||
},
|
||||
{
|
||||
"method": "DELETE",
|
||||
"raw": "/m",
|
||||
"status": 405,
|
||||
"headers": {
|
||||
"allow": "GET, HEAD, POST, OPTIONS",
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Method Not Allowed\"}"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"raw": "/m",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"mPost\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/h",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"hGet\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "HEAD",
|
||||
"raw": "/h",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/stream",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"cache-control": "no-cache",
|
||||
"content-type": "text/event-stream",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "data: {\"id\":\"stream\"}\n\n"
|
||||
},
|
||||
{
|
||||
"method": "HEAD",
|
||||
"raw": "/stream",
|
||||
"status": 405,
|
||||
"headers": {
|
||||
"allow": "GET, OPTIONS",
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "OPTIONS",
|
||||
"raw": "/stream",
|
||||
"status": 204,
|
||||
"headers": {
|
||||
"allow": "GET, OPTIONS",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "HEAD",
|
||||
"raw": "/s/live",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "HEAD",
|
||||
"raw": "/s/x",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/absent",
|
||||
"status": 404,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Not Found\"}"
|
||||
},
|
||||
{
|
||||
"method": "HEAD",
|
||||
"raw": "/absent",
|
||||
"status": 404,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "OPTIONS",
|
||||
"raw": "/absent",
|
||||
"status": 404,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Not Found\"}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/users/%E0%A4%A",
|
||||
"status": 400,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Bad Request\"}"
|
||||
},
|
||||
{
|
||||
"method": "HEAD",
|
||||
"raw": "/users/%E0%A4%A",
|
||||
"status": 400,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/a//b",
|
||||
"status": 400,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Bad Request\"}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/Case",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"caseUpper\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/case",
|
||||
"status": 404,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Not Found\"}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/caf%C3%A9",
|
||||
"status": 404,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Not Found\"}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/u/caf%C3%A9",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"uName\",\"params\":{\"name\":\"café\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/public/../admin",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"admin\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/public/%2e%2e/admin",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"admin\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/public/..%2fadmin",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"publicFile\",\"params\":{\"file\":\"../admin\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/admin/",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"admin\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "OPTIONS",
|
||||
"raw": "/r",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"rOptions\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "HEAD",
|
||||
"raw": "/r",
|
||||
"status": 405,
|
||||
"headers": {
|
||||
"allow": "PUT, PATCH, DELETE, OPTIONS",
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/r",
|
||||
"status": 405,
|
||||
"headers": {
|
||||
"allow": "PUT, PATCH, DELETE, OPTIONS",
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Method Not Allowed\"}"
|
||||
},
|
||||
{
|
||||
"method": "PURGE",
|
||||
"raw": "/r",
|
||||
"status": 405,
|
||||
"headers": {
|
||||
"allow": "PUT, PATCH, DELETE, OPTIONS",
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Method Not Allowed\"}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"root\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/?q=1",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"root\",\"params\":{}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,632 @@
|
||||
{
|
||||
"revision": "ed47836c9820c47bf4ed5e902d91e019abdb110a",
|
||||
"data": [
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/a/b",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"aB\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/a/x",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"aId\",\"params\":{\"id\":\"x\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/a/x/y",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"aRest\",\"params\":{\"rest\":\"x/y\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/a",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"aRest\",\"params\":{\"rest\":\"\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/users/42",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"usersId\",\"params\":{\"id\":\"42\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/users/alice",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"usersValue\",\"params\":{\"value\":\"alice\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/users/a%20b",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"usersValue\",\"params\":{\"value\":\"a b\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/n/42",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"nNum\",\"params\":{\"num\":\"42\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/n/ff",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"nCode\",\"params\":{\"code\":\"ff\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/files",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"files\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/files/",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"files\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/files/a%2Fb",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"filesRest\",\"params\":{\"rest\":\"a/b\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/m",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"mGet\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "HEAD",
|
||||
"raw": "/m",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "OPTIONS",
|
||||
"raw": "/m",
|
||||
"status": 204,
|
||||
"headers": {
|
||||
"allow": "GET, HEAD, POST, OPTIONS",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "PUT",
|
||||
"raw": "/m",
|
||||
"status": 405,
|
||||
"headers": {
|
||||
"allow": "GET, HEAD, POST, OPTIONS",
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Method Not Allowed\"}"
|
||||
},
|
||||
{
|
||||
"method": "DELETE",
|
||||
"raw": "/m",
|
||||
"status": 405,
|
||||
"headers": {
|
||||
"allow": "GET, HEAD, POST, OPTIONS",
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Method Not Allowed\"}"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"raw": "/m",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"mPost\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/h",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"hGet\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "HEAD",
|
||||
"raw": "/h",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/stream",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"cache-control": "no-cache",
|
||||
"content-type": "text/event-stream",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "data: {\"id\":\"stream\"}\n\n"
|
||||
},
|
||||
{
|
||||
"method": "HEAD",
|
||||
"raw": "/stream",
|
||||
"status": 405,
|
||||
"headers": {
|
||||
"allow": "GET, OPTIONS",
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "OPTIONS",
|
||||
"raw": "/stream",
|
||||
"status": 204,
|
||||
"headers": {
|
||||
"allow": "GET, OPTIONS",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "HEAD",
|
||||
"raw": "/s/live",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "HEAD",
|
||||
"raw": "/s/x",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/absent",
|
||||
"status": 404,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Not Found\"}"
|
||||
},
|
||||
{
|
||||
"method": "HEAD",
|
||||
"raw": "/absent",
|
||||
"status": 404,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "OPTIONS",
|
||||
"raw": "/absent",
|
||||
"status": 404,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Not Found\"}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/users/%E0%A4%A",
|
||||
"status": 400,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Bad Request\"}"
|
||||
},
|
||||
{
|
||||
"method": "HEAD",
|
||||
"raw": "/users/%E0%A4%A",
|
||||
"status": 400,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/a//b",
|
||||
"status": 400,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Bad Request\"}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/Case",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"caseUpper\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/case",
|
||||
"status": 404,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Not Found\"}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/caf%C3%A9",
|
||||
"status": 404,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Not Found\"}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/u/caf%C3%A9",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"uName\",\"params\":{\"name\":\"café\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/public/../admin",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"admin\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/public/%2e%2e/admin",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"admin\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/public/..%2fadmin",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"publicFile\",\"params\":{\"file\":\"../admin\"}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/admin/",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"admin\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "OPTIONS",
|
||||
"raw": "/r",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"rOptions\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "HEAD",
|
||||
"raw": "/r",
|
||||
"status": 405,
|
||||
"headers": {
|
||||
"allow": "PUT, PATCH, DELETE, OPTIONS",
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/r",
|
||||
"status": 405,
|
||||
"headers": {
|
||||
"allow": "PUT, PATCH, DELETE, OPTIONS",
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Method Not Allowed\"}"
|
||||
},
|
||||
{
|
||||
"method": "PURGE",
|
||||
"raw": "/r",
|
||||
"status": 405,
|
||||
"headers": {
|
||||
"allow": "PUT, PATCH, DELETE, OPTIONS",
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"error\":\"Method Not Allowed\"}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"root\",\"params\":{}}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"raw": "/?q=1",
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
"referrer-policy": "no-referrer",
|
||||
"transfer-encoding": "chunked",
|
||||
"x-content-type-options": "nosniff",
|
||||
"x-dns-prefetch-control": "off",
|
||||
"x-frame-options": "SAMEORIGIN"
|
||||
},
|
||||
"body": "{\"id\":\"root\",\"params\":{}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,183 @@
|
||||
{
|
||||
"revision": "ed47836c9820c47bf4ed5e902d91e019abdb110a",
|
||||
"data": [
|
||||
{
|
||||
"id": "B01-duplicate-param",
|
||||
"declarations": [
|
||||
"@Get('/x/:id/:id')"
|
||||
],
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "invalid route pattern '/x/:id/:id': duplicate parameter 'id'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "B02-nonfinal-catch-all",
|
||||
"declarations": [
|
||||
"@Get('/x/:rest*/tail')"
|
||||
],
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "invalid route pattern '/x/:rest*/tail': catch-all must be the final segment"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "B03-nested-quantifier",
|
||||
"declarations": [
|
||||
"@Get('/x/:id((a+)+)')"
|
||||
],
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "unsafe route constraint: unsupported expression '(a+)+'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "B04-alternation",
|
||||
"declarations": [
|
||||
"@Get('/x/:id(a|b)')"
|
||||
],
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "unsafe route constraint: unsupported expression 'a|b'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "B05-adjacent-unbounded",
|
||||
"declarations": [
|
||||
"@Get('/x/:id(\\d+\\w+)')"
|
||||
],
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "unsafe route constraint: adjacent unbounded quantifiers in '\\d+\\w+'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "B06-inverted-quantifier",
|
||||
"declarations": [
|
||||
"@Get('/x/:id(\\d{5,2})')"
|
||||
],
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "unsafe route constraint: invalid quantifier '{5,2}'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "B07-invalid-param-name",
|
||||
"declarations": [
|
||||
"@Get('/x/:1x')"
|
||||
],
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "invalid route pattern '/x/:1x': invalid parameter name '1x'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "B08-malformed-constraint",
|
||||
"declarations": [
|
||||
"@Get('/x/:id(\\d+')"
|
||||
],
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "invalid route pattern '/x/:id(\\d+': malformed constraint"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "B09-same-shape-plain",
|
||||
"declarations": [
|
||||
"@Get('/users/:id')",
|
||||
"@Get('/users/:name')"
|
||||
],
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "ambiguous route GET /users/:name at ParityBoot.h1 conflicts with GET /users/:id at ParityBoot.h0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "B10-same-shape-constrained",
|
||||
"declarations": [
|
||||
"@Get('/c/:a(\\d+)')",
|
||||
"@Get('/c/:b(\\d+)')"
|
||||
],
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "ambiguous route GET /c/:b(\\d+) at ParityBoot.h1 conflicts with GET /c/:a(\\d+) at ParityBoot.h0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "B11-trailing-slash-twin",
|
||||
"declarations": [
|
||||
"@Get('/t')",
|
||||
"@Get('/t/')"
|
||||
],
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "ambiguous route GET /t/ at ParityBoot.h1 conflicts with GET /t at ParityBoot.h0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "B12-get-and-ws-same-path",
|
||||
"declarations": [
|
||||
"@Get('/live')",
|
||||
"@Ws('/live')"
|
||||
],
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "ambiguous route GET /live at ParityBoot.h1 conflicts with GET /live at ParityBoot.h0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "B13-get-and-sse-same-path",
|
||||
"declarations": [
|
||||
"@Get('/feed')",
|
||||
"@Sse('/feed')"
|
||||
],
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "ambiguous route GET /feed at ParityBoot.h1 conflicts with GET /feed at ParityBoot.h0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "B14-ws-same-shape",
|
||||
"declarations": [
|
||||
"@Ws('/w/:a')",
|
||||
"@Ws('/w/:b')"
|
||||
],
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "ambiguous route GET /w/:b at ParityBoot.h1 conflicts with GET /w/:a at ParityBoot.h0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "B15-ok-same-shape-different-methods",
|
||||
"declarations": [
|
||||
"@Get('/users/:id')",
|
||||
"@Post('/users/:name')"
|
||||
],
|
||||
"ok": true
|
||||
},
|
||||
{
|
||||
"id": "B16-ok-different-constraints",
|
||||
"declarations": [
|
||||
"@Get('/c/:a(\\d+)')",
|
||||
"@Get('/c/:b([a-z]+)')"
|
||||
],
|
||||
"ok": true
|
||||
},
|
||||
{
|
||||
"id": "B17-ok-static-and-param",
|
||||
"declarations": [
|
||||
"@Get('/users/me')",
|
||||
"@Get('/users/:id')"
|
||||
],
|
||||
"ok": true
|
||||
},
|
||||
{
|
||||
"id": "B18-ok-exact-and-catch-all",
|
||||
"declarations": [
|
||||
"@Get('/f')",
|
||||
"@Get('/f/:rest*')"
|
||||
],
|
||||
"ok": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"revision": "ed47836c9820c47bf4ed5e902d91e019abdb110a",
|
||||
"data": [
|
||||
{
|
||||
"id": "M01-two-teapots-same-route",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "mesh: ambiguous remote route 'GET /api/dup/ping' from <teapot2> conflicts with 'GET /api/dup/ping' from <teapot1> — load balancing across teapots is not implemented yet, so green-tea will not choose one for you. Export it from a single teapot."
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "M02-two-teapots-same-shape",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "mesh: ambiguous remote route 'GET /api/shape/:name' from <teapot2> conflicts with 'GET /api/shape/:id' from <teapot1> — load balancing across teapots is not implemented yet, so green-tea will not choose one for you. Export it from a single teapot."
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "M03-local-same-shape-wins",
|
||||
"ok": true,
|
||||
"warnings": [
|
||||
"mesh: route 'GET /api/dup/ping' is exported by teapot <teapot1> but also declared locally — the local route takes precedence and the remote one will not be reached. Remove one if that is not what you meant."
|
||||
],
|
||||
"responses": [
|
||||
{
|
||||
"path": "/api/dup/ping",
|
||||
"status": 200,
|
||||
"body": "{\"from\":\"local\"}"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "M04-unique-remote",
|
||||
"ok": true,
|
||||
"warnings": [],
|
||||
"responses": [
|
||||
{
|
||||
"path": "/api/dup/ping",
|
||||
"status": 200,
|
||||
"body": "{\"from\":\"teapot\"}"
|
||||
},
|
||||
{
|
||||
"path": "/c/ok",
|
||||
"status": 200,
|
||||
"body": "{\"from\":\"teacup\"}"
|
||||
},
|
||||
{
|
||||
"path": "/api/nope",
|
||||
"status": 404,
|
||||
"body": "{\"error\":\"Not Found\"}"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "M05-remote-static-outranks-local-param",
|
||||
"ok": true,
|
||||
"warnings": [],
|
||||
"responses": [
|
||||
{
|
||||
"path": "/api/dup/ping",
|
||||
"status": 200,
|
||||
"body": "{\"from\":\"teapot\"}"
|
||||
},
|
||||
{
|
||||
"path": "/api/dup/x",
|
||||
"status": 200,
|
||||
"body": "{\"from\":\"local\",\"p\":{\"anything\":\"x\"}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,163 @@
|
||||
{
|
||||
"revision": "ed47836c9820c47bf4ed5e902d91e019abdb110a",
|
||||
"data": [
|
||||
{
|
||||
"pattern": "/",
|
||||
"shape": ""
|
||||
},
|
||||
{
|
||||
"pattern": "/users/:id",
|
||||
"shape": "s:users/p"
|
||||
},
|
||||
{
|
||||
"pattern": "/users/:id(\\d+)",
|
||||
"shape": "s:users/r:\\d+"
|
||||
},
|
||||
{
|
||||
"pattern": "/files/:rest*",
|
||||
"shape": "s:files/c"
|
||||
},
|
||||
{
|
||||
"pattern": "/:rest*",
|
||||
"shape": "c"
|
||||
},
|
||||
{
|
||||
"pattern": "/t/",
|
||||
"shape": "s:t"
|
||||
},
|
||||
{
|
||||
"pattern": "/café",
|
||||
"shape": "s:café"
|
||||
},
|
||||
{
|
||||
"pattern": "/build/:version(\\d{2}\\.\\d{1,2})",
|
||||
"shape": "s:build/r:\\d{2}\\.\\d{1,2}"
|
||||
},
|
||||
{
|
||||
"pattern": "/x/:id/:id",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "invalid route pattern '/x/:id/:id': duplicate parameter 'id'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": "/x/:id/:rest*/tail",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "invalid route pattern '/x/:id/:rest*/tail': catch-all must be the final segment"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": "/x/:rest*/:rest*",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "invalid route pattern '/x/:rest*/:rest*': catch-all must be the final segment"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": "/x/:",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "invalid route pattern '/x/:': invalid parameter name ''"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": "/x/:1x",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "invalid route pattern '/x/:1x': invalid parameter name '1x'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": "/x//y",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "invalid route pattern '/x//y': repeated slash"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": "x",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "invalid route pattern 'x': pattern must start with '/'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": "",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "invalid route pattern '': pattern must start with '/'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": "/x/:id((a+)+)",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "unsafe route constraint: unsupported expression '(a+)+'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": "/x/:id((?=a)a)",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "unsafe route constraint: unsupported expression '(?=a)a'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": "/x/:id(\\1)",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "unsafe route constraint: unsupported expression '\\1'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": "/x/:id(a|b)",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "unsafe route constraint: unsupported expression 'a|b'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": "/x/:id(\\d+\\w+)",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "unsafe route constraint: adjacent unbounded quantifiers in '\\d+\\w+'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": "/x/:id(\\d{5,2})",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "unsafe route constraint: invalid quantifier '{5,2}'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": "/x/:id(\\d{1,4096})",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "unsafe route constraint: invalid quantifier '{1,4096}'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": "/x/:id(\\d+",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "invalid route pattern '/x/:id(\\d+': malformed constraint"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": "/x/:id()",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "unsafe route constraint: expression must contain 1-128 characters"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": "/x/:id(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)",
|
||||
"error": {
|
||||
"name": "Error",
|
||||
"message": "unsafe route constraint: expression must contain 1-128 characters"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,214 @@
|
||||
{
|
||||
"revision": "ed47836c9820c47bf4ed5e902d91e019abdb110a",
|
||||
"data": [
|
||||
{
|
||||
"id": "W01-overlap",
|
||||
"declarations": [
|
||||
{
|
||||
"id": "param",
|
||||
"pattern": "/ws/:id"
|
||||
},
|
||||
{
|
||||
"id": "static",
|
||||
"pattern": "/ws/static"
|
||||
},
|
||||
{
|
||||
"id": "rest",
|
||||
"pattern": "/ws/:rest*"
|
||||
}
|
||||
],
|
||||
"outcomes": [
|
||||
{
|
||||
"path": "/ws/static",
|
||||
"route": {
|
||||
"id": "param",
|
||||
"params": {
|
||||
"id": "static"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/ws/x",
|
||||
"route": {
|
||||
"id": "param",
|
||||
"params": {
|
||||
"id": "x"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/ws/a%20b",
|
||||
"route": {
|
||||
"id": "param",
|
||||
"params": {
|
||||
"id": "a b"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/ws",
|
||||
"route": {
|
||||
"id": "rest",
|
||||
"params": {
|
||||
"rest": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/ws/x/y",
|
||||
"route": {
|
||||
"id": "rest",
|
||||
"params": {
|
||||
"rest": "x/y"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/w",
|
||||
"route": null
|
||||
},
|
||||
{
|
||||
"path": "/w/a%2Fb/c",
|
||||
"route": null
|
||||
},
|
||||
{
|
||||
"path": "/nope",
|
||||
"route": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "W02-overlap-reversed",
|
||||
"declarations": [
|
||||
{
|
||||
"id": "rest",
|
||||
"pattern": "/ws/:rest*"
|
||||
},
|
||||
{
|
||||
"id": "static",
|
||||
"pattern": "/ws/static"
|
||||
},
|
||||
{
|
||||
"id": "param",
|
||||
"pattern": "/ws/:id"
|
||||
}
|
||||
],
|
||||
"outcomes": [
|
||||
{
|
||||
"path": "/ws/static",
|
||||
"route": {
|
||||
"id": "rest",
|
||||
"params": {
|
||||
"rest": "static"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/ws/x",
|
||||
"route": {
|
||||
"id": "rest",
|
||||
"params": {
|
||||
"rest": "x"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/ws/a%20b",
|
||||
"route": {
|
||||
"id": "rest",
|
||||
"params": {
|
||||
"rest": "a b"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/ws",
|
||||
"route": {
|
||||
"id": "rest",
|
||||
"params": {
|
||||
"rest": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/ws/x/y",
|
||||
"route": {
|
||||
"id": "rest",
|
||||
"params": {
|
||||
"rest": "x/y"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/w",
|
||||
"route": null
|
||||
},
|
||||
{
|
||||
"path": "/w/a%2Fb/c",
|
||||
"route": null
|
||||
},
|
||||
{
|
||||
"path": "/nope",
|
||||
"route": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "W03-catch-all-first",
|
||||
"declarations": [
|
||||
{
|
||||
"id": "rest",
|
||||
"pattern": "/w/:rest*"
|
||||
},
|
||||
{
|
||||
"id": "exact",
|
||||
"pattern": "/w"
|
||||
}
|
||||
],
|
||||
"outcomes": [
|
||||
{
|
||||
"path": "/ws/static",
|
||||
"route": null
|
||||
},
|
||||
{
|
||||
"path": "/ws/x",
|
||||
"route": null
|
||||
},
|
||||
{
|
||||
"path": "/ws/a%20b",
|
||||
"route": null
|
||||
},
|
||||
{
|
||||
"path": "/ws",
|
||||
"route": null
|
||||
},
|
||||
{
|
||||
"path": "/ws/x/y",
|
||||
"route": null
|
||||
},
|
||||
{
|
||||
"path": "/w",
|
||||
"route": {
|
||||
"id": "rest",
|
||||
"params": {
|
||||
"rest": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/w/a%2Fb/c",
|
||||
"route": {
|
||||
"id": "rest",
|
||||
"params": {
|
||||
"rest": "a/b/c"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/nope",
|
||||
"route": null
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"revision": "ed47836c9820c47bf4ed5e902d91e019abdb110a",
|
||||
"data": [
|
||||
{
|
||||
"path": "/live/lobby",
|
||||
"sent": [
|
||||
{
|
||||
"id": "liveRoom",
|
||||
"params": {
|
||||
"room": "lobby"
|
||||
}
|
||||
}
|
||||
],
|
||||
"closes": [
|
||||
{}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/live/kitchen",
|
||||
"sent": [
|
||||
{
|
||||
"id": "liveRoom",
|
||||
"params": {
|
||||
"room": "kitchen"
|
||||
}
|
||||
}
|
||||
],
|
||||
"closes": [
|
||||
{}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/live/lobby/",
|
||||
"sent": [
|
||||
{
|
||||
"id": "liveRoom",
|
||||
"params": {
|
||||
"room": "lobby"
|
||||
}
|
||||
}
|
||||
],
|
||||
"closes": [
|
||||
{}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/live/x/../lobby",
|
||||
"sent": [
|
||||
{
|
||||
"id": "liveRoom",
|
||||
"params": {
|
||||
"room": "lobby"
|
||||
}
|
||||
}
|
||||
],
|
||||
"closes": [
|
||||
{}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/live/a%20b",
|
||||
"sent": [
|
||||
{
|
||||
"id": "liveRoom",
|
||||
"params": {
|
||||
"room": "a b"
|
||||
}
|
||||
}
|
||||
],
|
||||
"closes": [
|
||||
{}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/live/lobby?x=1",
|
||||
"sent": [
|
||||
{
|
||||
"id": "liveRoom",
|
||||
"params": {
|
||||
"room": "lobby"
|
||||
}
|
||||
}
|
||||
],
|
||||
"closes": [
|
||||
{}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/live/%E0%A4%A",
|
||||
"sent": [],
|
||||
"closes": [
|
||||
{
|
||||
"code": 1008,
|
||||
"reason": "invalid request path"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/live//lobby",
|
||||
"sent": [],
|
||||
"closes": [
|
||||
{
|
||||
"code": 1008,
|
||||
"reason": "invalid request path"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/plain",
|
||||
"sent": [],
|
||||
"closes": [
|
||||
{
|
||||
"code": 1008,
|
||||
"reason": "no matching ws route"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/nope",
|
||||
"sent": [],
|
||||
"closes": [
|
||||
{
|
||||
"code": 1008,
|
||||
"reason": "no matching ws route"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/feed",
|
||||
"sent": [
|
||||
{
|
||||
"id": "feed",
|
||||
"params": {}
|
||||
}
|
||||
],
|
||||
"closes": [
|
||||
{}
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "/__mesh__/control",
|
||||
"sent": [],
|
||||
"closes": [
|
||||
{
|
||||
"code": 1008,
|
||||
"reason": "mesh control channel not enabled: this app exports nothing, or has no mesh.secret"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"revision": "ed47836c9820c47bf4ed5e902d91e019abdb110a",
|
||||
"data": [
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/live/lobby",
|
||||
"status": 405,
|
||||
"allow": "POST, OPTIONS",
|
||||
"body": "{\"error\":\"Method Not Allowed\"}"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"path": "/live/lobby",
|
||||
"status": 200,
|
||||
"allow": null,
|
||||
"body": "{\"id\":\"httpLobby\"}"
|
||||
},
|
||||
{
|
||||
"method": "OPTIONS",
|
||||
"path": "/live/lobby",
|
||||
"status": 204,
|
||||
"allow": "POST, OPTIONS",
|
||||
"body": ""
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/live/kitchen",
|
||||
"status": 404,
|
||||
"allow": null,
|
||||
"body": "{\"error\":\"Not Found\"}"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"path": "/feed",
|
||||
"status": 200,
|
||||
"allow": null,
|
||||
"body": "{\"id\":\"feed\",\"params\":{}}\n"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
{
|
||||
"revision": "ed47836c9820c47bf4ed5e902d91e019abdb110a",
|
||||
"data": [
|
||||
{
|
||||
"path": "/live/lobby",
|
||||
"status": 101,
|
||||
"sent": [
|
||||
{
|
||||
"id": "liveRoom",
|
||||
"params": {
|
||||
"room": "lobby"
|
||||
}
|
||||
}
|
||||
],
|
||||
"close": {
|
||||
"code": 1005,
|
||||
"reason": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/live/kitchen",
|
||||
"status": 101,
|
||||
"sent": [
|
||||
{
|
||||
"id": "liveRoom",
|
||||
"params": {
|
||||
"room": "kitchen"
|
||||
}
|
||||
}
|
||||
],
|
||||
"close": {
|
||||
"code": 1005,
|
||||
"reason": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/live/lobby/",
|
||||
"status": 101,
|
||||
"sent": [
|
||||
{
|
||||
"id": "liveRoom",
|
||||
"params": {
|
||||
"room": "lobby"
|
||||
}
|
||||
}
|
||||
],
|
||||
"close": {
|
||||
"code": 1005,
|
||||
"reason": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/live/x/../lobby",
|
||||
"status": 101,
|
||||
"sent": [
|
||||
{
|
||||
"id": "liveRoom",
|
||||
"params": {
|
||||
"room": "lobby"
|
||||
}
|
||||
}
|
||||
],
|
||||
"close": {
|
||||
"code": 1005,
|
||||
"reason": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/live/a%20b",
|
||||
"status": 101,
|
||||
"sent": [
|
||||
{
|
||||
"id": "liveRoom",
|
||||
"params": {
|
||||
"room": "a b"
|
||||
}
|
||||
}
|
||||
],
|
||||
"close": {
|
||||
"code": 1005,
|
||||
"reason": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/live/lobby?x=1",
|
||||
"status": 101,
|
||||
"sent": [
|
||||
{
|
||||
"id": "liveRoom",
|
||||
"params": {
|
||||
"room": "lobby"
|
||||
}
|
||||
}
|
||||
],
|
||||
"close": {
|
||||
"code": 1005,
|
||||
"reason": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/live/%E0%A4%A",
|
||||
"status": 400,
|
||||
"sent": []
|
||||
},
|
||||
{
|
||||
"path": "/live//lobby",
|
||||
"status": 400,
|
||||
"sent": []
|
||||
},
|
||||
{
|
||||
"path": "/plain",
|
||||
"status": 404,
|
||||
"sent": []
|
||||
},
|
||||
{
|
||||
"path": "/nope",
|
||||
"status": 404,
|
||||
"sent": []
|
||||
},
|
||||
{
|
||||
"path": "/feed",
|
||||
"status": 101,
|
||||
"sent": [
|
||||
{
|
||||
"id": "feed",
|
||||
"params": {}
|
||||
}
|
||||
],
|
||||
"close": {
|
||||
"code": 1005,
|
||||
"reason": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "/__mesh__/control",
|
||||
"status": 101,
|
||||
"sent": [
|
||||
{
|
||||
"id": "reserved",
|
||||
"params": {}
|
||||
}
|
||||
],
|
||||
"close": {
|
||||
"code": 1005,
|
||||
"reason": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user