We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e245fc commit 4e94dbbCopy full SHA for 4e94dbb
1 file changed
oauth2_http/javatests/com/google/auth/oauth2/MockMetadataServerTransport.java
@@ -277,6 +277,8 @@ public LowLevelHttpResponse execute() {
277
278
// return licenses only if format=full is set
279
if (queryPairs.containsKey("licenses")) {
280
+ // The metadata server defaults to false and matches "on", "off" and ::absl::SimpleAtob.
281
+ // See https://abseil.io/docs/cpp/guides/strings#numericConversion for more information.
282
if (BOOL_PARAMETER_VALUE.matcher((String) queryPairs.get("licenses")).matches()) {
283
return new MockLowLevelHttpRequest(url) {
284
@Override
0 commit comments