File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1255,12 +1255,12 @@ The tool execution handler is responsible for actually executing the logic of ea
12551255// Create an HTTP client with a default request configuration and JSON content negotiation
12561256val httpClient = HttpClient {
12571257 defaultRequest {
1258- url(" https://api.weather.gov" )
1259- headers {
1260- append(" Accept" , " application/geo+json" )
1261- append(" User-Agent" , " WeatherApiClient/1.0" )
1262- }
1263- contentType(ContentType .Application .Json )
1258+ url(" https://api.weather.gov" )
1259+ headers {
1260+ append(" Accept" , " application/geo+json" )
1261+ append(" User-Agent" , " WeatherApiClient/1.0" )
1262+ }
1263+ contentType(ContentType .Application .Json )
12641264 }
12651265 // Install content negotiation plugin for JSON serialization/deserialization
12661266 install(ContentNegotiation ) { json(Json { ignoreUnknownKeys = true }) }
You can’t perform that action at this time.
0 commit comments