diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2020-03-25 22:22:50 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-03-27 13:39:37 +0000 |
commit | f073760f51d4836a8669b1943c27fd8f4d8e7cc8 (patch) | |
tree | 6a87fbe6deb8881220d869f118ab71ee8dc11714 /src/mongo/db/commands/http_client.idl | |
parent | ef3e188790cb5ba3ecc86ede5df79af33565b33a (diff) | |
download | mongo-f073760f51d4836a8669b1943c27fd8f4d8e7cc8.tar.gz |
SERVER-47133 Refactor HttpClient to allow returning on error
Diffstat (limited to 'src/mongo/db/commands/http_client.idl')
-rw-r--r-- | src/mongo/db/commands/http_client.idl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/commands/http_client.idl b/src/mongo/db/commands/http_client.idl index 139e9f5dc02..9395fa839ba 100644 --- a/src/mongo/db/commands/http_client.idl +++ b/src/mongo/db/commands/http_client.idl @@ -36,6 +36,12 @@ structs: httpClientReply: description: "Result of an HTTP(S) GET request" fields: + code: + description: "Status code returned by server" + type: int + header: + description: "Headers returned by server" + type: string body: description: "Content returned by server" type: string |