Skip to content

Commit 34714d9

Browse files
committed
Try to set mozila user agent as header
1 parent 04882bb commit 34714d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

json-schema-validator/src/jvmTest/kotlin/io/github/optimumcode/json/schema/JsonSchemaStreamTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class JsonSchemaStreamTest : FunSpec() {
2626
HttpRequest.newBuilder(URI.create("https://json-schema.org/draft-07/schema#"))
2727
.GET()
2828
.timeout(Duration.ofSeconds(10))
29+
.header("User-Agent", "Mozilla/5.0")
2930
.build(),
3031
BodyHandlers.ofInputStream(),
3132
)

0 commit comments

Comments
 (0)