Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove falsely set empty bodies for restJson1 #765

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ apply InputAndOutputWithHeaders @httpResponseTests([
"X-StringList": "a, b, c",
"X-StringSet": "a, b, c"
},
body: "",
params: {
headerString: "Hello",
headerStringList: ["a", "b", "c"],
Expand All @@ -154,7 +153,6 @@ apply InputAndOutputWithHeaders @httpResponseTests([
"X-Double": "1.1",
"X-IntegerList": "1, 2, 3",
},
body: "",
params: {
headerByte: 1,
headerShort: 123,
Expand All @@ -175,7 +173,6 @@ apply InputAndOutputWithHeaders @httpResponseTests([
"X-Boolean2": "false",
"X-BooleanList": "true, false, true"
},
body: "",
params: {
headerTrueBool: true,
headerFalseBool: false,
Expand All @@ -190,7 +187,6 @@ apply InputAndOutputWithHeaders @httpResponseTests([
headers: {
"X-TimestampList": "Mon, 16 Dec 2019 23:48:18 GMT, Mon, 16 Dec 2019 23:48:18 GMT"
},
body: "",
params: {
headerTimestampList: [1576540098, 1576540098]
}
Expand All @@ -204,7 +200,6 @@ apply InputAndOutputWithHeaders @httpResponseTests([
"X-Enum": "Foo",
"X-EnumList": "Foo, Bar, Baz"
},
body: "",
params: {
headerEnum: "Foo",
headerEnumList: ["Foo", "Bar", "Baz"],
Expand Down Expand Up @@ -305,7 +300,6 @@ apply NullAndEmptyHeadersServer @httpResponseTests([
protocol: restJson1,
code: 200,
forbidHeaders: ["X-A", "X-B", "X-C"],
body: "",
params: {
a: null,
b: "",
Expand Down Expand Up @@ -377,7 +371,6 @@ apply TimestampFormatHeaders @httpResponseTests([
"X-targetHttpDate": "Mon, 16 Dec 2019 23:48:18 GMT",
"X-targetDateTime": "2019-12-16T23:48:18Z",
},
body: "",
params: {
memberEpochSeconds: 1576540098,
memberHttpDate: 1576540098,
Expand Down Expand Up @@ -450,7 +443,6 @@ apply MediaTypeHeader @httpResponseTests([
headers: {
"X-Json": "dHJ1ZQ=="
},
body: "",
params: {
json: "true"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ apply HttpPrefixHeaders @httpResponseTests([
documentation: "Adds headers by prefix",
protocol: restJson1,
code: 200,
body: "",
headers: {
"X-Foo": "Foo",
"X-Foo-Abc": "Abc value",
Expand Down Expand Up @@ -100,7 +99,6 @@ apply HttpPrefixHeadersResponse @httpResponseTests([
documentation: "(de)serializes all response headers",
protocol: restJson1,
code: 200,
body: "",
headers: {
"X-Foo": "Foo",
"Hello": "Hello"
Expand Down