From de03690d03af4cfcab6add9029c8e1076b9b310b Mon Sep 17 00:00:00 2001 From: Jacob Laursen Date: Thu, 27 Apr 2023 22:13:26 +0200 Subject: [PATCH] Fix compliance with RFC 9110 section 10.1.5 Signed-off-by: Jacob Laursen --- .../binding/energidataservice/internal/ApiController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.energidataservice/src/main/java/org/openhab/binding/energidataservice/internal/ApiController.java b/bundles/org.openhab.binding.energidataservice/src/main/java/org/openhab/binding/energidataservice/internal/ApiController.java index c55282dd94efb..484986ff819d5 100644 --- a/bundles/org.openhab.binding.energidataservice/src/main/java/org/openhab/binding/energidataservice/internal/ApiController.java +++ b/bundles/org.openhab.binding.energidataservice/src/main/java/org/openhab/binding/energidataservice/internal/ApiController.java @@ -89,7 +89,7 @@ public class ApiController { public ApiController(HttpClient httpClient, TimeZoneProvider timeZoneProvider) { this.httpClient = httpClient; this.timeZoneProvider = timeZoneProvider; - userAgent = "openHAB " + FrameworkUtil.getBundle(this.getClass()).getVersion().toString(); + userAgent = "openHAB/" + FrameworkUtil.getBundle(this.getClass()).getVersion().toString(); } /**