Skip to content

Commit

Permalink
Try to set mozila user agent as header
Browse files Browse the repository at this point in the history
  • Loading branch information
OptimumCode committed Oct 14, 2024
1 parent 04882bb commit 34714d9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class JsonSchemaStreamTest : FunSpec() {
HttpRequest.newBuilder(URI.create("https://json-schema.org/draft-07/schema#"))
.GET()
.timeout(Duration.ofSeconds(10))
.header("User-Agent", "Mozilla/5.0")
.build(),
BodyHandlers.ofInputStream(),
)
Expand Down

0 comments on commit 34714d9

Please sign in to comment.