File tree Expand file tree Collapse file tree 3 files changed +1
-32
lines changed
core/protocols/aws-query-protocol/src/main/java/software/amazon/awssdk/protocols/query/internal/marshall
test/protocol-tests-core/src/main/resources/software/amazon/awssdk/protocol/suites/cases Expand file tree Collapse file tree 3 files changed +1
-32
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -51,12 +51,8 @@ private QueryProtocolMarshaller(Builder builder) {
51
51
}
52
52
53
53
private SdkHttpFullRequest .Builder fillBasicRequestParams (OperationInfo operationInfo ) {
54
- String path = "" ;
55
- if (request != null && request .encodedPath () != null && !"/" .equals (request .encodedPath ())) {
56
- path = request .encodedPath ();
57
- }
58
54
return ProtocolUtils .createSdkHttpRequest (operationInfo , endpoint )
59
- .encodedPath (path )
55
+ .encodedPath ("" )
60
56
.putRawQueryParameter ("Action" , operationInfo .operationIdentifier ())
61
57
.putRawQueryParameter ("Version" , operationInfo .apiVersion ());
62
58
}
Original file line number Diff line number Diff line change 80
80
}
81
81
}
82
82
},
83
- {
84
- "id" : " QueryHostWithPath" ,
85
- "description" : " Custom endpoints supplied by users can have paths" ,
86
- "given" : {
87
- "input" : {},
88
- "host" : " example.com/custom"
89
- },
90
- "when" : {
91
- "action" : " marshall" ,
92
- "operation" : " HostWithPathOperation"
93
- },
94
- "then" : {
95
- "serializedAs" : {
96
- "method" : " POST" ,
97
- "body" : {
98
- "queryEquals" : " Action=HostWithPathOperation&Version=2020-01-08"
99
- },
100
- "uri" : " /custom/"
101
- }
102
- }
103
- },
104
83
{
105
84
"id" : " NestedStructures" ,
106
85
"description" : " Serializes nested structures using dots" ,
You can’t perform that action at this time.
0 commit comments