@shawnstack/quickforge 1.3.19 → 1.3.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +348 -348
- package/dist/assets/{anthropic-Bj3HAZgj.js → anthropic--qj3xmqE.js} +1 -1
- package/dist/assets/{azure-openai-responses-IdZZrSrI.js → azure-openai-responses-DDRaS-MZ.js} +1 -1
- package/dist/assets/{google-Brt_lS1J.js → google-C-8-FIZS.js} +1 -1
- package/dist/assets/{google-vertex-B6HsoZ34.js → google-vertex-Dw2y_nqS.js} +1 -1
- package/dist/assets/{index-D0W9hAl_.css → index-B-WkttzD.css} +1 -1
- package/dist/assets/{index-D0CVLdX_.js → index-DRGbHzkd.js} +4 -4
- package/dist/assets/{mistral-CenXqwPz.js → mistral-u_5S4wj6.js} +1 -1
- package/dist/assets/{openai-codex-responses-D9ffGwbj.js → openai-codex-responses-CWZGpchs.js} +1 -1
- package/dist/assets/{openai-completions-eWdeSGBG.js → openai-completions-C_DdwPuH.js} +1 -1
- package/dist/assets/{openai-responses-Cavpmjeu.js → openai-responses-CMp0ziUV.js} +1 -1
- package/dist/assets/{openai-responses-shared-DF3ZGaUx.js → openai-responses-shared-CORWeerT.js} +1 -1
- package/dist/index.html +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/LICENSE +201 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/README.md +62 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +156 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/constants.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +16 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +80 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +8 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +11 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +10 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/index.js +4 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +5 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +7 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +7 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +8 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +69 -0
- package/node_modules/@aws-sdk/token-providers/package.json +1 -1
- package/node_modules/@smithy/core/dist-cjs/index.js +3 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +3 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +9 -40
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +9 -40
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +12 -142
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +7 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +184 -0
- package/node_modules/@smithy/core/dist-es/index.js +6 -6
- package/node_modules/@smithy/core/dist-es/submodules/client/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +5 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +3 -4
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/{protocols/url-parser → transport}/parseUrl.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/{endpoints → transport}/toEndpointV1.js +1 -1
- package/node_modules/@smithy/core/package.json +19 -10
- package/node_modules/@smithy/core/transport.js +5 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
- package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +2 -2
- package/node_modules/eventsource-parser/README.md +31 -0
- package/node_modules/eventsource-parser/dist/index.cjs +21 -10
- package/node_modules/eventsource-parser/dist/index.js +21 -10
- package/node_modules/eventsource-parser/dist/stream.cjs +4 -3
- package/node_modules/eventsource-parser/dist/stream.js +4 -3
- package/node_modules/eventsource-parser/package.json +8 -8
- package/package.json +1 -1
- package/server/subagents.mjs +2 -2
- package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -21
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +0 -21
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -46
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +0 -24
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +0 -19
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +0 -27
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +0 -5
- package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +0 -10
- package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +0 -44
- package/node_modules/@smithy/core/dist-cjs/request-builder/requestBuilder.js +0 -5
- package/node_modules/@smithy/core/dist-cjs/setFeature.js +0 -14
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +0 -18
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +0 -38
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +0 -15
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +0 -9
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +0 -61
- package/node_modules/@smithy/core/dist-es/request-builder/requestBuilder.js +0 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/util-middleware/getSmithyContext.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/TestVectors.fixture.js +0 -146
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/vectorTypes.fixture.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +0 -2
- package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +0 -21
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +0 -88
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -21
- package/node_modules/@smithy/signature-v4/dist-es/suite.fixture.js +0 -399
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemePlugin.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/httpAuthSchemeMiddleware.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/resolveAuthOptions.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/getHttpSigningMiddleware.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/httpSigningMiddleware.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{pagination → legacy-root-exports/pagination}/createPaginator.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/DefaultIdentityProviderConfig.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpApiKeyAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpBearerAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/noAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/memoizeIdentityProvider.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{getSmithyContext.js → submodules/transport/getSmithyContext.js} +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/httpRequest.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/httpResponse.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{endpoints/util-endpoints/lib → transport}/isValidHostLabel.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/isValidHostname.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{client/util-middleware → transport}/normalizeProvider.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/querystring-parser → transport}/parseQueryString.js +0 -0
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { readFileSync } from "node:fs";
|
|
2
|
-
import { createServer as createHttp2Server } from "node:http2";
|
|
3
|
-
import { createServer as createHttpServer, } from "node:http";
|
|
4
|
-
import { createServer as createHttpsServer } from "node:https";
|
|
5
|
-
import { join } from "node:path";
|
|
6
|
-
import { Readable } from "node:stream";
|
|
7
|
-
import { timing } from "./timing";
|
|
8
|
-
const fixturesDir = join(__dirname, "..", "fixtures");
|
|
9
|
-
const setResponseHeaders = (response, headers) => {
|
|
10
|
-
for (const [key, value] of Object.entries(headers)) {
|
|
11
|
-
response.setHeader(key, value);
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
const setResponseBody = (response, body) => {
|
|
15
|
-
if (body instanceof Readable) {
|
|
16
|
-
body.pipe(response);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
response.end(body);
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
export const createResponseFunction = (httpResp) => (request, response) => {
|
|
23
|
-
response.statusCode = httpResp.statusCode;
|
|
24
|
-
if (httpResp.reason) {
|
|
25
|
-
response.statusMessage = httpResp.reason;
|
|
26
|
-
}
|
|
27
|
-
setResponseHeaders(response, httpResp.headers);
|
|
28
|
-
setResponseBody(response, httpResp.body);
|
|
29
|
-
};
|
|
30
|
-
export const createResponseFunctionWithDelay = (httpResp, delay) => (request, response) => {
|
|
31
|
-
response.statusCode = httpResp.statusCode;
|
|
32
|
-
if (httpResp.reason) {
|
|
33
|
-
response.statusMessage = httpResp.reason;
|
|
34
|
-
}
|
|
35
|
-
setResponseHeaders(response, httpResp.headers);
|
|
36
|
-
timing.setTimeout(() => setResponseBody(response, httpResp.body), delay);
|
|
37
|
-
};
|
|
38
|
-
export const createContinueResponseFunction = (httpResp) => (request, response) => {
|
|
39
|
-
response.writeContinue();
|
|
40
|
-
timing.setTimeout(() => {
|
|
41
|
-
createResponseFunction(httpResp)(request, response);
|
|
42
|
-
}, 100);
|
|
43
|
-
};
|
|
44
|
-
export const createMockHttpsServer = () => {
|
|
45
|
-
const server = createHttpsServer({
|
|
46
|
-
key: readFileSync(join(fixturesDir, "test-server-key.pem")),
|
|
47
|
-
cert: readFileSync(join(fixturesDir, "test-server-cert.pem")),
|
|
48
|
-
});
|
|
49
|
-
return server;
|
|
50
|
-
};
|
|
51
|
-
export const createMockHttpServer = () => {
|
|
52
|
-
const server = createHttpServer();
|
|
53
|
-
return server;
|
|
54
|
-
};
|
|
55
|
-
export const createMockHttp2Server = () => {
|
|
56
|
-
const server = createHttp2Server();
|
|
57
|
-
return server;
|
|
58
|
-
};
|
|
59
|
-
export const createMirrorResponseFunction = (httpResp) => (request, response) => {
|
|
60
|
-
const bufs = [];
|
|
61
|
-
request.on("data", (chunk) => {
|
|
62
|
-
bufs.push(chunk);
|
|
63
|
-
});
|
|
64
|
-
request.on("end", () => {
|
|
65
|
-
response.statusCode = httpResp.statusCode;
|
|
66
|
-
setResponseHeaders(response, httpResp.headers);
|
|
67
|
-
setResponseBody(response, Buffer.concat(bufs));
|
|
68
|
-
});
|
|
69
|
-
request.on("error", (err) => {
|
|
70
|
-
response.statusCode = 500;
|
|
71
|
-
setResponseHeaders(response, httpResp.headers);
|
|
72
|
-
setResponseBody(response, err.message);
|
|
73
|
-
});
|
|
74
|
-
};
|
|
75
|
-
export const getResponseBody = (response) => {
|
|
76
|
-
return new Promise((resolve, reject) => {
|
|
77
|
-
const bufs = [];
|
|
78
|
-
response.body.on("data", function (d) {
|
|
79
|
-
bufs.push(d);
|
|
80
|
-
});
|
|
81
|
-
response.body.on("end", function () {
|
|
82
|
-
resolve(Buffer.concat(bufs).toString());
|
|
83
|
-
});
|
|
84
|
-
response.body.on("error", (err) => {
|
|
85
|
-
reject(err);
|
|
86
|
-
});
|
|
87
|
-
});
|
|
88
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Readable } from "node:stream";
|
|
2
|
-
export class ReadFromBuffers extends Readable {
|
|
3
|
-
buffersToRead;
|
|
4
|
-
numBuffersRead = 0;
|
|
5
|
-
errorAfter;
|
|
6
|
-
constructor(options) {
|
|
7
|
-
super(options);
|
|
8
|
-
this.buffersToRead = options.buffers;
|
|
9
|
-
this.errorAfter = typeof options.errorAfter === "number" ? options.errorAfter : -1;
|
|
10
|
-
}
|
|
11
|
-
_read(size) {
|
|
12
|
-
if (this.errorAfter !== -1 && this.errorAfter === this.numBuffersRead) {
|
|
13
|
-
this.emit("error", new Error("Mock Error"));
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
16
|
-
if (this.numBuffersRead >= this.buffersToRead.length) {
|
|
17
|
-
return this.push(null);
|
|
18
|
-
}
|
|
19
|
-
return this.push(this.buffersToRead[this.numBuffersRead++]);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,399 +0,0 @@
|
|
|
1
|
-
export const region = "us-east-1";
|
|
2
|
-
export const service = "service";
|
|
3
|
-
export const credentials = {
|
|
4
|
-
accessKeyId: "AKIDEXAMPLE",
|
|
5
|
-
secretAccessKey: "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY",
|
|
6
|
-
};
|
|
7
|
-
export const signingDate = new Date("2015-08-30T12:36:00Z");
|
|
8
|
-
export const requests = [
|
|
9
|
-
{
|
|
10
|
-
name: "get-header-key-duplicate",
|
|
11
|
-
request: {
|
|
12
|
-
protocol: "https:",
|
|
13
|
-
method: "GET",
|
|
14
|
-
hostname: "example.amazonaws.com",
|
|
15
|
-
query: {},
|
|
16
|
-
headers: {
|
|
17
|
-
host: "example.amazonaws.com",
|
|
18
|
-
"my-header1": "value2,value2,value1",
|
|
19
|
-
"x-amz-date": "20150830T123600Z",
|
|
20
|
-
},
|
|
21
|
-
path: "/",
|
|
22
|
-
},
|
|
23
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=c9d5ea9f3f72853aea855b47ea873832890dbdd183b4468f858259531a5138ea",
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
name: "get-header-value-multiline",
|
|
27
|
-
request: {
|
|
28
|
-
protocol: "https:",
|
|
29
|
-
method: "GET",
|
|
30
|
-
hostname: "example.amazonaws.com",
|
|
31
|
-
query: {},
|
|
32
|
-
headers: {
|
|
33
|
-
host: "example.amazonaws.com",
|
|
34
|
-
"my-header1": "value1,value2,value3",
|
|
35
|
-
"x-amz-date": "20150830T123600Z",
|
|
36
|
-
},
|
|
37
|
-
path: "/",
|
|
38
|
-
},
|
|
39
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=ba17b383a53190154eb5fa66a1b836cc297cc0a3d70a5d00705980573d8ff790",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
name: "get-header-value-order",
|
|
43
|
-
request: {
|
|
44
|
-
protocol: "https:",
|
|
45
|
-
method: "GET",
|
|
46
|
-
hostname: "example.amazonaws.com",
|
|
47
|
-
query: {},
|
|
48
|
-
headers: {
|
|
49
|
-
host: "example.amazonaws.com",
|
|
50
|
-
"my-header1": "value4,value1,value3,value2",
|
|
51
|
-
"x-amz-date": "20150830T123600Z",
|
|
52
|
-
},
|
|
53
|
-
path: "/",
|
|
54
|
-
},
|
|
55
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=08c7e5a9acfcfeb3ab6b2185e75ce8b1deb5e634ec47601a50643f830c755c01",
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
name: "get-header-value-trim",
|
|
59
|
-
request: {
|
|
60
|
-
protocol: "https:",
|
|
61
|
-
method: "GET",
|
|
62
|
-
hostname: "example.amazonaws.com",
|
|
63
|
-
query: {},
|
|
64
|
-
headers: {
|
|
65
|
-
host: "example.amazonaws.com",
|
|
66
|
-
"my-header1": "value1",
|
|
67
|
-
"my-header2": '"a b c"',
|
|
68
|
-
"x-amz-date": "20150830T123600Z",
|
|
69
|
-
},
|
|
70
|
-
path: "/",
|
|
71
|
-
},
|
|
72
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;my-header2;x-amz-date, Signature=acc3ed3afb60bb290fc8d2dd0098b9911fcaa05412b367055dee359757a9c736",
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
name: "get-unreserved",
|
|
76
|
-
request: {
|
|
77
|
-
protocol: "https:",
|
|
78
|
-
method: "GET",
|
|
79
|
-
hostname: "example.amazonaws.com",
|
|
80
|
-
query: {},
|
|
81
|
-
headers: {
|
|
82
|
-
host: "example.amazonaws.com",
|
|
83
|
-
"x-amz-date": "20150830T123600Z",
|
|
84
|
-
},
|
|
85
|
-
path: "/-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
|
|
86
|
-
},
|
|
87
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=07ef7494c76fa4850883e2b006601f940f8a34d404d0cfa977f52a65bbf5f24f",
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
name: "get-utf8",
|
|
91
|
-
request: {
|
|
92
|
-
protocol: "https:",
|
|
93
|
-
method: "GET",
|
|
94
|
-
hostname: "example.amazonaws.com",
|
|
95
|
-
query: {},
|
|
96
|
-
headers: {
|
|
97
|
-
host: "example.amazonaws.com",
|
|
98
|
-
"x-amz-date": "20150830T123600Z",
|
|
99
|
-
},
|
|
100
|
-
path: "/ሴ",
|
|
101
|
-
},
|
|
102
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=8318018e0b0f223aa2bbf98705b62bb787dc9c0e678f255a891fd03141be5d85",
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
name: "get-vanilla",
|
|
106
|
-
request: {
|
|
107
|
-
protocol: "https:",
|
|
108
|
-
method: "GET",
|
|
109
|
-
hostname: "example.amazonaws.com",
|
|
110
|
-
query: {},
|
|
111
|
-
headers: {
|
|
112
|
-
host: "example.amazonaws.com",
|
|
113
|
-
"x-amz-date": "20150830T123600Z",
|
|
114
|
-
},
|
|
115
|
-
path: "/",
|
|
116
|
-
},
|
|
117
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5fa00fa31553b73ebf1942676e86291e8372ff2a2260956d9b8aae1d763fbf31",
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
name: "get-vanilla-empty-query-key",
|
|
121
|
-
request: {
|
|
122
|
-
protocol: "https:",
|
|
123
|
-
method: "GET",
|
|
124
|
-
hostname: "example.amazonaws.com",
|
|
125
|
-
query: {
|
|
126
|
-
Param1: "value1",
|
|
127
|
-
},
|
|
128
|
-
headers: {
|
|
129
|
-
host: "example.amazonaws.com",
|
|
130
|
-
"x-amz-date": "20150830T123600Z",
|
|
131
|
-
},
|
|
132
|
-
path: "/",
|
|
133
|
-
},
|
|
134
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=a67d582fa61cc504c4bae71f336f98b97f1ea3c7a6bfe1b6e45aec72011b9aeb",
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
name: "get-vanilla-query",
|
|
138
|
-
request: {
|
|
139
|
-
protocol: "https:",
|
|
140
|
-
method: "GET",
|
|
141
|
-
hostname: "example.amazonaws.com",
|
|
142
|
-
query: {},
|
|
143
|
-
headers: {
|
|
144
|
-
host: "example.amazonaws.com",
|
|
145
|
-
"x-amz-date": "20150830T123600Z",
|
|
146
|
-
},
|
|
147
|
-
path: "/",
|
|
148
|
-
},
|
|
149
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5fa00fa31553b73ebf1942676e86291e8372ff2a2260956d9b8aae1d763fbf31",
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
name: "get-vanilla-query-order-key-case",
|
|
153
|
-
request: {
|
|
154
|
-
protocol: "https:",
|
|
155
|
-
method: "GET",
|
|
156
|
-
hostname: "example.amazonaws.com",
|
|
157
|
-
query: {
|
|
158
|
-
Param2: "value2",
|
|
159
|
-
Param1: "value1",
|
|
160
|
-
},
|
|
161
|
-
headers: {
|
|
162
|
-
host: "example.amazonaws.com",
|
|
163
|
-
"x-amz-date": "20150830T123600Z",
|
|
164
|
-
},
|
|
165
|
-
path: "/",
|
|
166
|
-
},
|
|
167
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=b97d918cfa904a5beff61c982a1b6f458b799221646efd99d3219ec94cdf2500",
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
name: "get-vanilla-query-unreserved",
|
|
171
|
-
request: {
|
|
172
|
-
protocol: "https:",
|
|
173
|
-
method: "GET",
|
|
174
|
-
hostname: "example.amazonaws.com",
|
|
175
|
-
query: {
|
|
176
|
-
"-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz": "-._~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
|
|
177
|
-
},
|
|
178
|
-
headers: {
|
|
179
|
-
host: "example.amazonaws.com",
|
|
180
|
-
"x-amz-date": "20150830T123600Z",
|
|
181
|
-
},
|
|
182
|
-
path: "/",
|
|
183
|
-
},
|
|
184
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=9c3e54bfcdf0b19771a7f523ee5669cdf59bc7cc0884027167c21bb143a40197",
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
name: "get-vanilla-utf8-query",
|
|
188
|
-
request: {
|
|
189
|
-
protocol: "https:",
|
|
190
|
-
method: "GET",
|
|
191
|
-
hostname: "example.amazonaws.com",
|
|
192
|
-
query: {
|
|
193
|
-
ሴ: "bar",
|
|
194
|
-
},
|
|
195
|
-
headers: {
|
|
196
|
-
host: "example.amazonaws.com",
|
|
197
|
-
"x-amz-date": "20150830T123600Z",
|
|
198
|
-
},
|
|
199
|
-
path: "/",
|
|
200
|
-
},
|
|
201
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=2cdec8eed098649ff3a119c94853b13c643bcf08f8b0a1d91e12c9027818dd04",
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
name: "post-header-key-case",
|
|
205
|
-
request: {
|
|
206
|
-
protocol: "https:",
|
|
207
|
-
method: "POST",
|
|
208
|
-
hostname: "example.amazonaws.com",
|
|
209
|
-
query: {},
|
|
210
|
-
headers: {
|
|
211
|
-
host: "example.amazonaws.com",
|
|
212
|
-
"x-amz-date": "20150830T123600Z",
|
|
213
|
-
},
|
|
214
|
-
path: "/",
|
|
215
|
-
},
|
|
216
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5da7c1a2acd57cee7505fc6676e4e544621c30862966e37dddb68e92efbe5d6b",
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
name: "post-header-key-sort",
|
|
220
|
-
request: {
|
|
221
|
-
protocol: "https:",
|
|
222
|
-
method: "POST",
|
|
223
|
-
hostname: "example.amazonaws.com",
|
|
224
|
-
query: {},
|
|
225
|
-
headers: {
|
|
226
|
-
host: "example.amazonaws.com",
|
|
227
|
-
"my-header1": "value1",
|
|
228
|
-
"x-amz-date": "20150830T123600Z",
|
|
229
|
-
},
|
|
230
|
-
path: "/",
|
|
231
|
-
},
|
|
232
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=c5410059b04c1ee005303aed430f6e6645f61f4dc9e1461ec8f8916fdf18852c",
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
name: "post-header-value-case",
|
|
236
|
-
request: {
|
|
237
|
-
protocol: "https:",
|
|
238
|
-
method: "POST",
|
|
239
|
-
hostname: "example.amazonaws.com",
|
|
240
|
-
query: {},
|
|
241
|
-
headers: {
|
|
242
|
-
host: "example.amazonaws.com",
|
|
243
|
-
"my-header1": "VALUE1",
|
|
244
|
-
"x-amz-date": "20150830T123600Z",
|
|
245
|
-
},
|
|
246
|
-
path: "/",
|
|
247
|
-
},
|
|
248
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;my-header1;x-amz-date, Signature=cdbc9802e29d2942e5e10b5bccfdd67c5f22c7c4e8ae67b53629efa58b974b7d",
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
name: "post-sts-header-after",
|
|
252
|
-
request: {
|
|
253
|
-
protocol: "https:",
|
|
254
|
-
method: "POST",
|
|
255
|
-
hostname: "example.amazonaws.com",
|
|
256
|
-
query: {},
|
|
257
|
-
headers: {
|
|
258
|
-
host: "example.amazonaws.com",
|
|
259
|
-
"x-amz-date": "20150830T123600Z",
|
|
260
|
-
},
|
|
261
|
-
path: "/",
|
|
262
|
-
},
|
|
263
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5da7c1a2acd57cee7505fc6676e4e544621c30862966e37dddb68e92efbe5d6b",
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
name: "post-sts-header-before",
|
|
267
|
-
request: {
|
|
268
|
-
protocol: "https:",
|
|
269
|
-
method: "POST",
|
|
270
|
-
hostname: "example.amazonaws.com",
|
|
271
|
-
query: {},
|
|
272
|
-
headers: {
|
|
273
|
-
host: "example.amazonaws.com",
|
|
274
|
-
"x-amz-date": "20150830T123600Z",
|
|
275
|
-
"x-amz-security-token": "AQoDYXdzEPT//////////wEXAMPLEtc764bNrC9SAPBSM22wDOk4x4HIZ8j4FZTwdQWLWsKWHGBuFqwAeMicRXmxfpSPfIeoIYRqTflfKD8YUuwthAx7mSEI/qkPpKPi/kMcGdQrmGdeehM4IC1NtBmUpp2wUE8phUZampKsburEDy0KPkyQDYwT7WZ0wq5VSXDvp75YU9HFvlRd8Tx6q6fE8YQcHNVXAkiY9q6d+xo0rKwT38xVqr7ZD0u0iPPkUL64lIZbqBAz+scqKmlzm8FDrypNC9Yjc8fPOLn9FX9KSYvKTr4rvx3iSIlTJabIQwj2ICCR/oLxBA==",
|
|
276
|
-
},
|
|
277
|
-
path: "/",
|
|
278
|
-
},
|
|
279
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date;x-amz-security-token, Signature=85d96828115b5dc0cfc3bd16ad9e210dd772bbebba041836c64533a82be05ead",
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
name: "post-vanilla",
|
|
283
|
-
request: {
|
|
284
|
-
protocol: "https:",
|
|
285
|
-
method: "POST",
|
|
286
|
-
hostname: "example.amazonaws.com",
|
|
287
|
-
query: {},
|
|
288
|
-
headers: {
|
|
289
|
-
host: "example.amazonaws.com",
|
|
290
|
-
"x-amz-date": "20150830T123600Z",
|
|
291
|
-
},
|
|
292
|
-
path: "/",
|
|
293
|
-
},
|
|
294
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=5da7c1a2acd57cee7505fc6676e4e544621c30862966e37dddb68e92efbe5d6b",
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
name: "post-vanilla-empty-query-value",
|
|
298
|
-
request: {
|
|
299
|
-
protocol: "https:",
|
|
300
|
-
method: "POST",
|
|
301
|
-
hostname: "example.amazonaws.com",
|
|
302
|
-
query: {
|
|
303
|
-
Param1: "value1",
|
|
304
|
-
},
|
|
305
|
-
headers: {
|
|
306
|
-
host: "example.amazonaws.com",
|
|
307
|
-
"x-amz-date": "20150830T123600Z",
|
|
308
|
-
},
|
|
309
|
-
path: "/",
|
|
310
|
-
},
|
|
311
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=28038455d6de14eafc1f9222cf5aa6f1a96197d7deb8263271d420d138af7f11",
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
name: "post-vanilla-query",
|
|
315
|
-
request: {
|
|
316
|
-
protocol: "https:",
|
|
317
|
-
method: "POST",
|
|
318
|
-
hostname: "example.amazonaws.com",
|
|
319
|
-
query: {
|
|
320
|
-
Param1: "value1",
|
|
321
|
-
},
|
|
322
|
-
headers: {
|
|
323
|
-
host: "example.amazonaws.com",
|
|
324
|
-
"x-amz-date": "20150830T123600Z",
|
|
325
|
-
},
|
|
326
|
-
path: "/",
|
|
327
|
-
},
|
|
328
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=28038455d6de14eafc1f9222cf5aa6f1a96197d7deb8263271d420d138af7f11",
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
name: "post-vanilla-query-nonunreserved",
|
|
332
|
-
request: {
|
|
333
|
-
protocol: "https:",
|
|
334
|
-
method: "POST",
|
|
335
|
-
hostname: "example.amazonaws.com",
|
|
336
|
-
query: {
|
|
337
|
-
"@#$%^": "",
|
|
338
|
-
"+": '/,?><`";:\\|][{}',
|
|
339
|
-
},
|
|
340
|
-
headers: {
|
|
341
|
-
host: "example.amazonaws.com",
|
|
342
|
-
"x-amz-date": "20150830T123600Z",
|
|
343
|
-
},
|
|
344
|
-
path: "/",
|
|
345
|
-
},
|
|
346
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=66c82657c86e26fb25238d0e69f011edc4c6df5ae71119d7cb98ed9b87393c1e",
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
name: "post-vanilla-query-space",
|
|
350
|
-
request: {
|
|
351
|
-
protocol: "https:",
|
|
352
|
-
method: "POST",
|
|
353
|
-
hostname: "example.amazonaws.com",
|
|
354
|
-
query: {
|
|
355
|
-
p: "",
|
|
356
|
-
},
|
|
357
|
-
headers: {
|
|
358
|
-
host: "example.amazonaws.com",
|
|
359
|
-
"x-amz-date": "20150830T123600Z",
|
|
360
|
-
},
|
|
361
|
-
path: "/",
|
|
362
|
-
},
|
|
363
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=host;x-amz-date, Signature=e71688addb58a26418614085fb730ba3faa623b461c17f48f2fbdb9361b94a9b",
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
name: "post-x-www-form-urlencoded",
|
|
367
|
-
request: {
|
|
368
|
-
protocol: "https:",
|
|
369
|
-
method: "POST",
|
|
370
|
-
hostname: "example.amazonaws.com",
|
|
371
|
-
query: {},
|
|
372
|
-
headers: {
|
|
373
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
374
|
-
host: "example.amazonaws.com",
|
|
375
|
-
"x-amz-date": "20150830T123600Z",
|
|
376
|
-
},
|
|
377
|
-
body: "Param1=value1",
|
|
378
|
-
path: "/",
|
|
379
|
-
},
|
|
380
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=ff11897932ad3f4e8b18135d722051e5ac45fc38421b1da7b9d196a0fe09473a",
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
name: "post-x-www-form-urlencoded-parameters",
|
|
384
|
-
request: {
|
|
385
|
-
protocol: "https:",
|
|
386
|
-
method: "POST",
|
|
387
|
-
hostname: "example.amazonaws.com",
|
|
388
|
-
query: {},
|
|
389
|
-
headers: {
|
|
390
|
-
"content-type": "application/x-www-form-urlencoded; charset=utf8",
|
|
391
|
-
host: "example.amazonaws.com",
|
|
392
|
-
"x-amz-date": "20150830T123600Z",
|
|
393
|
-
},
|
|
394
|
-
body: "Param1=value1",
|
|
395
|
-
path: "/",
|
|
396
|
-
},
|
|
397
|
-
authorization: "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20150830/us-east-1/service/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=1a72ec8f64bd914b0e42e42607c7fbce7fb2c7465f63e3092b3b0d39fa77a6fe",
|
|
398
|
-
},
|
|
399
|
-
];
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|