mirror of
https://github.com/google/nomulus
synced 2026-01-10 07:57:58 +00:00
Allow query parameters in the connection's endpoint
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=227898246
This commit is contained in:
@@ -102,8 +102,7 @@ class AppEngineConnection {
|
||||
private String internalSend(
|
||||
String endpoint, Map<String, ?> params, MediaType contentType, @Nullable byte[] payload)
|
||||
throws IOException {
|
||||
GenericUrl url = new GenericUrl(getServer());
|
||||
url.setRawPath(endpoint);
|
||||
GenericUrl url = new GenericUrl(String.format("%s%s", getServer(), endpoint));
|
||||
url.putAll(params);
|
||||
HttpRequest request =
|
||||
(payload != null)
|
||||
|
||||
Reference in New Issue
Block a user