From a3adba75f1b946994118bed518836d0f8fb2a53e Mon Sep 17 00:00:00 2001 From: TharmiganK Date: Tue, 15 Oct 2024 17:37:50 +0530 Subject: [PATCH 1/5] Update add header method to handle content-type headers --- ballerina/http2_push_promise.bal | 6 +++++- ballerina/http_request.bal | 9 +++++++-- ballerina/http_response.bal | 7 ++++++- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/ballerina/http2_push_promise.bal b/ballerina/http2_push_promise.bal index 1c0540faf4..795d441b03 100644 --- a/ballerina/http2_push_promise.bal +++ b/ballerina/http2_push_promise.bal @@ -59,11 +59,15 @@ public class PushPromise { return externPromiseGetHeaders(self, headerName); } - # Adds the specified key/value pair as an HTTP header to the `http:PushPromise`. + # Adds the specified key/value pair as an HTTP header to the `http:PushPromise`. In the case of the `Content-Type` + # header, the existing value is replaced with the specified value. # # + headerName - The header name # + headerValue - The header value public isolated function addHeader(string headerName, string headerValue) { + if headerName.equalsIgnoreCaseAscii(CONTENT_TYPE) { + return externPromiseSetHeader(self, headerName, headerValue); + } return externPromiseAddHeader(self, headerName, headerValue); } diff --git a/ballerina/http_request.bal b/ballerina/http_request.bal index 38ad126bf2..b4725cecd2 100644 --- a/ballerina/http_request.bal +++ b/ballerina/http_request.bal @@ -164,12 +164,17 @@ public class Request { externRequestSetHeader(self, headerName, headerValue); } - # Adds the specified header to the request. Existing header values are not replaced. Panic if an illegal header is passed. + # Adds the specified header to the request. Existing header values are not replaced, except for the `Content-Type` + # header. In the case of the `Content-Type` header, the existing value is replaced with the specified value. + # Panic if an illegal header is passed. # # + headerName - The header name # + headerValue - The header value public isolated function addHeader(string headerName, string headerValue) { - externRequestAddHeader(self, headerName, headerValue); + if headerName.equalsIgnoreCaseAscii(CONTENT_TYPE) { + return externRequestSetHeader(self, headerName, headerValue); + } + return externRequestAddHeader(self, headerName, headerValue); } # Removes the specified header from the request. diff --git a/ballerina/http_response.bal b/ballerina/http_response.bal index 751f56a5b9..eb0de0c2c9 100644 --- a/ballerina/http_response.bal +++ b/ballerina/http_response.bal @@ -109,13 +109,18 @@ public class Response { return externResponseGetHeader(self, headerName, position); } - # Adds the specified header to the response. Existing header values are not replaced. Panic if an illegal header is passed. + # Adds the specified header to the response. Existing header values are not replaced, except for the `Content-Type` + # header. In the case of the `Content-Type` header, the existing value is replaced with the specified value. + #. Panic if an illegal header is passed. # # + headerName - The header name # + headerValue - The header value # + position - Represents the position of the header as an optional parameter. If the position is `http:TRAILING`, # the entity-body of the `Response` must be accessed initially. public isolated function addHeader(string headerName, string headerValue, HeaderPosition position = LEADING) { + if headerName.equalsIgnoreCaseAscii(CONTENT_TYPE) { + return externResponseSetHeader(self, headerName, headerValue, position); + } return externResponseAddHeader(self, headerName, headerValue, position); } From cd4b8d197ea69a6bc0dc1c2f9f96b76c656beaea Mon Sep 17 00:00:00 2001 From: TharmiganK Date: Tue, 15 Oct 2024 17:47:08 +0530 Subject: [PATCH 2/5] Add tests --- .../tests/http_header_test.bal | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/ballerina-tests/http-misc-tests/tests/http_header_test.bal b/ballerina-tests/http-misc-tests/tests/http_header_test.bal index 308cd7b93a..31c5e1c1a1 100644 --- a/ballerina-tests/http-misc-tests/tests/http_header_test.bal +++ b/ballerina-tests/http-misc-tests/tests/http_header_test.bal @@ -14,6 +14,7 @@ // specific language governing permissions and limitations // under the License. +import ballerina/mime; import ballerina/test; import ballerina/http; import ballerina/http_test_common as common; @@ -276,3 +277,24 @@ function testPassthruWithBody() returns error? { } } +@test:Config {} +function testAddHeaderWithContentType() returns error? { + http:Request req = new; + check req.setContentType(mime:APPLICATION_JSON); + test:assertEquals(check req.getHeaders(http:CONTENT_TYPE), [mime:APPLICATION_JSON]); + req.addHeader(http:CONTENT_TYPE, mime:APPLICATION_XML); + test:assertEquals(check req.getHeaders(http:CONTENT_TYPE), [mime:APPLICATION_XML]); + + http:Response res = new; + check res.setContentType(mime:APPLICATION_JSON); + test:assertEquals(check res.getHeaders(http:CONTENT_TYPE), [mime:APPLICATION_JSON]); + res.addHeader(http:CONTENT_TYPE, mime:APPLICATION_XML); + test:assertEquals(check res.getHeaders(http:CONTENT_TYPE), [mime:APPLICATION_XML]); + + http:PushPromise pushPromise = new; + pushPromise.addHeader(http:CONTENT_TYPE, mime:APPLICATION_JSON); + test:assertEquals(pushPromise.getHeaders(http:CONTENT_TYPE), [mime:APPLICATION_JSON]); + pushPromise.addHeader(http:CONTENT_TYPE, mime:APPLICATION_XML); + test:assertEquals(pushPromise.getHeaders(http:CONTENT_TYPE), [mime:APPLICATION_XML]); +} + From 5be02fb8644415091e7dc2ea25cf0fbf92011d5d Mon Sep 17 00:00:00 2001 From: TharmiganK Date: Tue, 15 Oct 2024 17:49:58 +0530 Subject: [PATCH 3/5] Update changelog --- changelog.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/changelog.md b/changelog.md index 3f07e8dd0f..c54f03509b 100644 --- a/changelog.md +++ b/changelog.md @@ -5,6 +5,12 @@ This file contains all the notable changes done to the Ballerina HTTP package th The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Fixed + +- [Fix duplicating `Content-Type` header via the `addHeader` method](https://github.com/ballerina-platform/ballerina-library/issues/7268) + ## [2.11.4] - 2024-09-25 ### Fixed From 760ee3d608ad1fc2e4520ec73daf77c42d3074ae Mon Sep 17 00:00:00 2001 From: TharmiganK Date: Wed, 16 Oct 2024 15:56:37 +0530 Subject: [PATCH 4/5] [Automated] Update the native jar versions --- ballerina/Ballerina.toml | 6 +++--- ballerina/CompilerPlugin.toml | 2 +- ballerina/Dependencies.toml | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index 8e7694dd95..08194acdb7 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -1,7 +1,7 @@ [package] org = "ballerina" name = "http" -version = "2.11.4" +version = "2.11.5" authors = ["Ballerina"] keywords = ["http", "network", "service", "listener", "client"] repository = "https://github.com/ballerina-platform/module-ballerina-http" @@ -16,8 +16,8 @@ graalvmCompatible = true [[platform.java17.dependency]] groupId = "io.ballerina.stdlib" artifactId = "http-native" -version = "2.11.4" -path = "../native/build/libs/http-native-2.11.4.jar" +version = "2.11.5" +path = "../native/build/libs/http-native-2.11.5-SNAPSHOT.jar" [[platform.java17.dependency]] groupId = "io.ballerina.stdlib" diff --git a/ballerina/CompilerPlugin.toml b/ballerina/CompilerPlugin.toml index 1c075680de..602340fb36 100644 --- a/ballerina/CompilerPlugin.toml +++ b/ballerina/CompilerPlugin.toml @@ -3,4 +3,4 @@ id = "http-compiler-plugin" class = "io.ballerina.stdlib.http.compiler.HttpCompilerPlugin" [[dependency]] -path = "../compiler-plugin/build/libs/http-compiler-plugin-2.11.4.jar" +path = "../compiler-plugin/build/libs/http-compiler-plugin-2.11.5-SNAPSHOT.jar" diff --git a/ballerina/Dependencies.toml b/ballerina/Dependencies.toml index a11e6277f5..ad8c0a9b92 100644 --- a/ballerina/Dependencies.toml +++ b/ballerina/Dependencies.toml @@ -10,7 +10,7 @@ distribution-version = "2201.9.0" [[package]] org = "ballerina" name = "auth" -version = "2.11.0" +version = "2.11.2" dependencies = [ {org = "ballerina", name = "crypto"}, {org = "ballerina", name = "jballerina.java"}, @@ -50,7 +50,7 @@ modules = [ [[package]] org = "ballerina" name = "crypto" -version = "2.7.0" +version = "2.7.2" dependencies = [ {org = "ballerina", name = "jballerina.java"}, {org = "ballerina", name = "time"} @@ -76,7 +76,7 @@ modules = [ [[package]] org = "ballerina" name = "http" -version = "2.11.4" +version = "2.11.5" dependencies = [ {org = "ballerina", name = "auth"}, {org = "ballerina", name = "cache"}, @@ -108,7 +108,7 @@ modules = [ [[package]] org = "ballerina" name = "io" -version = "1.6.0" +version = "1.6.1" dependencies = [ {org = "ballerina", name = "jballerina.java"}, {org = "ballerina", name = "lang.value"} From a02a344dd97a64bc6fe92ddd09d8cf2a00531161 Mon Sep 17 00:00:00 2001 From: TharmiganK Date: Wed, 16 Oct 2024 16:07:30 +0530 Subject: [PATCH 5/5] [Automated] Update the native jar versions --- ballerina-tests/http-advanced-tests/Ballerina.toml | 6 +++--- ballerina-tests/http-advanced-tests/Dependencies.toml | 6 +++--- ballerina-tests/http-client-tests/Ballerina.toml | 6 +++--- ballerina-tests/http-client-tests/Dependencies.toml | 6 +++--- ballerina-tests/http-dispatching-tests/Ballerina.toml | 6 +++--- ballerina-tests/http-dispatching-tests/Dependencies.toml | 6 +++--- ballerina-tests/http-interceptor-tests/Ballerina.toml | 6 +++--- ballerina-tests/http-interceptor-tests/Dependencies.toml | 6 +++--- ballerina-tests/http-misc-tests/Ballerina.toml | 6 +++--- ballerina-tests/http-misc-tests/Dependencies.toml | 6 +++--- ballerina-tests/http-resiliency-tests/Ballerina.toml | 6 +++--- ballerina-tests/http-resiliency-tests/Dependencies.toml | 6 +++--- ballerina-tests/http-security-tests/Ballerina.toml | 6 +++--- ballerina-tests/http-security-tests/Dependencies.toml | 6 +++--- ballerina-tests/http-service-tests/Ballerina.toml | 6 +++--- ballerina-tests/http-service-tests/Dependencies.toml | 6 +++--- ballerina-tests/http-test-common/Ballerina.toml | 2 +- ballerina-tests/http-test-common/Dependencies.toml | 2 +- ballerina-tests/http2-tests/Ballerina.toml | 6 +++--- ballerina-tests/http2-tests/Dependencies.toml | 6 +++--- 20 files changed, 56 insertions(+), 56 deletions(-) diff --git a/ballerina-tests/http-advanced-tests/Ballerina.toml b/ballerina-tests/http-advanced-tests/Ballerina.toml index a0b9b7caf4..feec314ad3 100644 --- a/ballerina-tests/http-advanced-tests/Ballerina.toml +++ b/ballerina-tests/http-advanced-tests/Ballerina.toml @@ -1,17 +1,17 @@ [package] org = "ballerina" name = "http_advanced_tests" -version = "2.11.4" +version = "2.11.5" [[dependency]] org = "ballerina" name = "http_test_common" repository = "local" -version = "2.11.4" +version = "2.11.5" [platform.java17] graalvmCompatible = true [[platform.java17.dependency]] scope = "testOnly" -path = "../../test-utils/build/libs/http-test-utils-2.11.4.jar" +path = "../../test-utils/build/libs/http-test-utils-2.11.5-SNAPSHOT.jar" diff --git a/ballerina-tests/http-advanced-tests/Dependencies.toml b/ballerina-tests/http-advanced-tests/Dependencies.toml index 99bf9cf5f2..9c3e07d1c9 100644 --- a/ballerina-tests/http-advanced-tests/Dependencies.toml +++ b/ballerina-tests/http-advanced-tests/Dependencies.toml @@ -72,7 +72,7 @@ modules = [ [[package]] org = "ballerina" name = "http" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "auth"}, @@ -105,7 +105,7 @@ modules = [ [[package]] org = "ballerina" name = "http_advanced_tests" -version = "2.11.4" +version = "2.11.5" dependencies = [ {org = "ballerina", name = "crypto"}, {org = "ballerina", name = "file"}, @@ -125,7 +125,7 @@ modules = [ [[package]] org = "ballerina" name = "http_test_common" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "lang.string"}, diff --git a/ballerina-tests/http-client-tests/Ballerina.toml b/ballerina-tests/http-client-tests/Ballerina.toml index 5ed0ed8f61..dab24f0e31 100644 --- a/ballerina-tests/http-client-tests/Ballerina.toml +++ b/ballerina-tests/http-client-tests/Ballerina.toml @@ -1,17 +1,17 @@ [package] org = "ballerina" name = "http_client_tests" -version = "2.11.4" +version = "2.11.5" [[dependency]] org = "ballerina" name = "http_test_common" repository = "local" -version = "2.11.4" +version = "2.11.5" [platform.java17] graalvmCompatible = true [[platform.java17.dependency]] scope = "testOnly" -path = "../../test-utils/build/libs/http-test-utils-2.11.4.jar" +path = "../../test-utils/build/libs/http-test-utils-2.11.5-SNAPSHOT.jar" diff --git a/ballerina-tests/http-client-tests/Dependencies.toml b/ballerina-tests/http-client-tests/Dependencies.toml index 69c4da2dfb..cf8f7add77 100644 --- a/ballerina-tests/http-client-tests/Dependencies.toml +++ b/ballerina-tests/http-client-tests/Dependencies.toml @@ -69,7 +69,7 @@ dependencies = [ [[package]] org = "ballerina" name = "http" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "auth"}, @@ -102,7 +102,7 @@ modules = [ [[package]] org = "ballerina" name = "http_client_tests" -version = "2.11.4" +version = "2.11.5" dependencies = [ {org = "ballerina", name = "constraint"}, {org = "ballerina", name = "http"}, @@ -121,7 +121,7 @@ modules = [ [[package]] org = "ballerina" name = "http_test_common" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "lang.string"}, diff --git a/ballerina-tests/http-dispatching-tests/Ballerina.toml b/ballerina-tests/http-dispatching-tests/Ballerina.toml index 173cbdb4dd..31db71aea6 100644 --- a/ballerina-tests/http-dispatching-tests/Ballerina.toml +++ b/ballerina-tests/http-dispatching-tests/Ballerina.toml @@ -1,17 +1,17 @@ [package] org = "ballerina" name = "http_dispatching_tests" -version = "2.11.4" +version = "2.11.5" [[dependency]] org = "ballerina" name = "http_test_common" repository = "local" -version = "2.11.4" +version = "2.11.5" [platform.java17] graalvmCompatible = true [[platform.java17.dependency]] scope = "testOnly" -path = "../../test-utils/build/libs/http-test-utils-2.11.4.jar" +path = "../../test-utils/build/libs/http-test-utils-2.11.5-SNAPSHOT.jar" diff --git a/ballerina-tests/http-dispatching-tests/Dependencies.toml b/ballerina-tests/http-dispatching-tests/Dependencies.toml index 5e5c9f86e1..45ee3fa830 100644 --- a/ballerina-tests/http-dispatching-tests/Dependencies.toml +++ b/ballerina-tests/http-dispatching-tests/Dependencies.toml @@ -69,7 +69,7 @@ dependencies = [ [[package]] org = "ballerina" name = "http" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "auth"}, @@ -102,7 +102,7 @@ modules = [ [[package]] org = "ballerina" name = "http_dispatching_tests" -version = "2.11.4" +version = "2.11.5" dependencies = [ {org = "ballerina", name = "constraint"}, {org = "ballerina", name = "http"}, @@ -124,7 +124,7 @@ modules = [ [[package]] org = "ballerina" name = "http_test_common" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "lang.string"}, diff --git a/ballerina-tests/http-interceptor-tests/Ballerina.toml b/ballerina-tests/http-interceptor-tests/Ballerina.toml index 1897290d2b..2b882d7037 100644 --- a/ballerina-tests/http-interceptor-tests/Ballerina.toml +++ b/ballerina-tests/http-interceptor-tests/Ballerina.toml @@ -1,17 +1,17 @@ [package] org = "ballerina" name = "http_interceptor_tests" -version = "2.11.4" +version = "2.11.5" [[dependency]] org = "ballerina" name = "http_test_common" repository = "local" -version = "2.11.4" +version = "2.11.5" [platform.java17] graalvmCompatible = true [[platform.java17.dependency]] scope = "testOnly" -path = "../../test-utils/build/libs/http-test-utils-2.11.4.jar" +path = "../../test-utils/build/libs/http-test-utils-2.11.5-SNAPSHOT.jar" diff --git a/ballerina-tests/http-interceptor-tests/Dependencies.toml b/ballerina-tests/http-interceptor-tests/Dependencies.toml index e362cdcf69..f3d4ad60e5 100644 --- a/ballerina-tests/http-interceptor-tests/Dependencies.toml +++ b/ballerina-tests/http-interceptor-tests/Dependencies.toml @@ -66,7 +66,7 @@ dependencies = [ [[package]] org = "ballerina" name = "http" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "auth"}, @@ -99,7 +99,7 @@ modules = [ [[package]] org = "ballerina" name = "http_interceptor_tests" -version = "2.11.4" +version = "2.11.5" dependencies = [ {org = "ballerina", name = "http"}, {org = "ballerina", name = "http_test_common"}, @@ -115,7 +115,7 @@ modules = [ [[package]] org = "ballerina" name = "http_test_common" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "lang.string"}, diff --git a/ballerina-tests/http-misc-tests/Ballerina.toml b/ballerina-tests/http-misc-tests/Ballerina.toml index 766b7d29e9..5111f3f913 100644 --- a/ballerina-tests/http-misc-tests/Ballerina.toml +++ b/ballerina-tests/http-misc-tests/Ballerina.toml @@ -1,17 +1,17 @@ [package] org = "ballerina" name = "http_misc_tests" -version = "2.11.4" +version = "2.11.5" [[dependency]] org = "ballerina" name = "http_test_common" repository = "local" -version = "2.11.4" +version = "2.11.5" [platform.java17] graalvmCompatible = true [[platform.java17.dependency]] scope = "testOnly" -path = "../../test-utils/build/libs/http-test-utils-2.11.4.jar" +path = "../../test-utils/build/libs/http-test-utils-2.11.5-SNAPSHOT.jar" diff --git a/ballerina-tests/http-misc-tests/Dependencies.toml b/ballerina-tests/http-misc-tests/Dependencies.toml index cef54fb3e4..06ca770d98 100644 --- a/ballerina-tests/http-misc-tests/Dependencies.toml +++ b/ballerina-tests/http-misc-tests/Dependencies.toml @@ -66,7 +66,7 @@ dependencies = [ [[package]] org = "ballerina" name = "http" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "auth"}, @@ -99,7 +99,7 @@ modules = [ [[package]] org = "ballerina" name = "http_misc_tests" -version = "2.11.4" +version = "2.11.5" dependencies = [ {org = "ballerina", name = "http"}, {org = "ballerina", name = "http_test_common"}, @@ -118,7 +118,7 @@ modules = [ [[package]] org = "ballerina" name = "http_test_common" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "lang.string"}, diff --git a/ballerina-tests/http-resiliency-tests/Ballerina.toml b/ballerina-tests/http-resiliency-tests/Ballerina.toml index 7383352db6..a35c01305f 100644 --- a/ballerina-tests/http-resiliency-tests/Ballerina.toml +++ b/ballerina-tests/http-resiliency-tests/Ballerina.toml @@ -1,17 +1,17 @@ [package] org = "ballerina" name = "http_resiliency_tests" -version = "2.11.4" +version = "2.11.5" [[dependency]] org = "ballerina" name = "http_test_common" repository = "local" -version = "2.11.4" +version = "2.11.5" [platform.java17] graalvmCompatible = true [[platform.java17.dependency]] scope = "testOnly" -path = "../../test-utils/build/libs/http-test-utils-2.11.4.jar" +path = "../../test-utils/build/libs/http-test-utils-2.11.5-SNAPSHOT.jar" diff --git a/ballerina-tests/http-resiliency-tests/Dependencies.toml b/ballerina-tests/http-resiliency-tests/Dependencies.toml index 0d33565ecc..ec5f6951d5 100644 --- a/ballerina-tests/http-resiliency-tests/Dependencies.toml +++ b/ballerina-tests/http-resiliency-tests/Dependencies.toml @@ -66,7 +66,7 @@ dependencies = [ [[package]] org = "ballerina" name = "http" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "auth"}, @@ -99,7 +99,7 @@ modules = [ [[package]] org = "ballerina" name = "http_resiliency_tests" -version = "2.11.4" +version = "2.11.5" dependencies = [ {org = "ballerina", name = "http"}, {org = "ballerina", name = "http_test_common"}, @@ -116,7 +116,7 @@ modules = [ [[package]] org = "ballerina" name = "http_test_common" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "lang.string"}, diff --git a/ballerina-tests/http-security-tests/Ballerina.toml b/ballerina-tests/http-security-tests/Ballerina.toml index 6a3cfd30c0..69dcb11286 100644 --- a/ballerina-tests/http-security-tests/Ballerina.toml +++ b/ballerina-tests/http-security-tests/Ballerina.toml @@ -1,17 +1,17 @@ [package] org = "ballerina" name = "http_security_tests" -version = "2.11.4" +version = "2.11.5" [[dependency]] org = "ballerina" name = "http_test_common" repository = "local" -version = "2.11.4" +version = "2.11.5" [platform.java17] graalvmCompatible = true [[platform.java17.dependency]] scope = "testOnly" -path = "../../test-utils/build/libs/http-test-utils-2.11.4.jar" +path = "../../test-utils/build/libs/http-test-utils-2.11.5-SNAPSHOT.jar" diff --git a/ballerina-tests/http-security-tests/Dependencies.toml b/ballerina-tests/http-security-tests/Dependencies.toml index 6db1867243..ab3cd4604c 100644 --- a/ballerina-tests/http-security-tests/Dependencies.toml +++ b/ballerina-tests/http-security-tests/Dependencies.toml @@ -69,7 +69,7 @@ dependencies = [ [[package]] org = "ballerina" name = "http" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "auth"}, @@ -102,7 +102,7 @@ modules = [ [[package]] org = "ballerina" name = "http_security_tests" -version = "2.11.4" +version = "2.11.5" dependencies = [ {org = "ballerina", name = "auth"}, {org = "ballerina", name = "http"}, @@ -120,7 +120,7 @@ modules = [ [[package]] org = "ballerina" name = "http_test_common" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "lang.string"}, diff --git a/ballerina-tests/http-service-tests/Ballerina.toml b/ballerina-tests/http-service-tests/Ballerina.toml index 0b062edc81..9c0c62a23d 100644 --- a/ballerina-tests/http-service-tests/Ballerina.toml +++ b/ballerina-tests/http-service-tests/Ballerina.toml @@ -1,17 +1,17 @@ [package] org = "ballerina" name = "http_service_tests" -version = "2.11.4" +version = "2.11.5" [[dependency]] org = "ballerina" name = "http_test_common" repository = "local" -version = "2.11.4" +version = "2.11.5" [platform.java17] graalvmCompatible = true [[platform.java17.dependency]] scope = "testOnly" -path = "../../test-utils/build/libs/http-test-utils-2.11.4.jar" +path = "../../test-utils/build/libs/http-test-utils-2.11.5-SNAPSHOT.jar" diff --git a/ballerina-tests/http-service-tests/Dependencies.toml b/ballerina-tests/http-service-tests/Dependencies.toml index 319822ecb3..a6a52e9855 100644 --- a/ballerina-tests/http-service-tests/Dependencies.toml +++ b/ballerina-tests/http-service-tests/Dependencies.toml @@ -69,7 +69,7 @@ modules = [ [[package]] org = "ballerina" name = "http" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "auth"}, @@ -102,7 +102,7 @@ modules = [ [[package]] org = "ballerina" name = "http_service_tests" -version = "2.11.4" +version = "2.11.5" dependencies = [ {org = "ballerina", name = "file"}, {org = "ballerina", name = "http"}, @@ -121,7 +121,7 @@ modules = [ [[package]] org = "ballerina" name = "http_test_common" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "lang.string"}, diff --git a/ballerina-tests/http-test-common/Ballerina.toml b/ballerina-tests/http-test-common/Ballerina.toml index b0f4ca684c..7ca8b9645b 100644 --- a/ballerina-tests/http-test-common/Ballerina.toml +++ b/ballerina-tests/http-test-common/Ballerina.toml @@ -1,4 +1,4 @@ [package] org = "ballerina" name = "http_test_common" -version = "2.11.4" +version = "2.11.5" diff --git a/ballerina-tests/http-test-common/Dependencies.toml b/ballerina-tests/http-test-common/Dependencies.toml index f1c3c1616b..c0b94843e1 100644 --- a/ballerina-tests/http-test-common/Dependencies.toml +++ b/ballerina-tests/http-test-common/Dependencies.toml @@ -10,7 +10,7 @@ distribution-version = "2201.9.0" [[package]] org = "ballerina" name = "http_test_common" -version = "2.11.4" +version = "2.11.5" dependencies = [ {org = "ballerina", name = "lang.string"}, {org = "ballerina", name = "mime"}, diff --git a/ballerina-tests/http2-tests/Ballerina.toml b/ballerina-tests/http2-tests/Ballerina.toml index 1b7f1f2fc7..1cd6bef2dd 100644 --- a/ballerina-tests/http2-tests/Ballerina.toml +++ b/ballerina-tests/http2-tests/Ballerina.toml @@ -1,17 +1,17 @@ [package] org = "ballerina" name = "http2_tests" -version = "2.11.4" +version = "2.11.5" [[dependency]] org = "ballerina" name = "http_test_common" repository = "local" -version = "2.11.4" +version = "2.11.5" [platform.java17] graalvmCompatible = true [[platform.java17.dependency]] scope = "testOnly" -path = "../../test-utils/build/libs/http-test-utils-2.11.4.jar" +path = "../../test-utils/build/libs/http-test-utils-2.11.5-SNAPSHOT.jar" diff --git a/ballerina-tests/http2-tests/Dependencies.toml b/ballerina-tests/http2-tests/Dependencies.toml index a676a12518..8b20e552d5 100644 --- a/ballerina-tests/http2-tests/Dependencies.toml +++ b/ballerina-tests/http2-tests/Dependencies.toml @@ -69,7 +69,7 @@ modules = [ [[package]] org = "ballerina" name = "http" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "auth"}, @@ -102,7 +102,7 @@ modules = [ [[package]] org = "ballerina" name = "http2_tests" -version = "2.11.4" +version = "2.11.5" dependencies = [ {org = "ballerina", name = "file"}, {org = "ballerina", name = "http"}, @@ -121,7 +121,7 @@ modules = [ [[package]] org = "ballerina" name = "http_test_common" -version = "2.11.4" +version = "2.11.5" scope = "testOnly" dependencies = [ {org = "ballerina", name = "lang.string"},