From 16a97eb7ab29afd8afaede5c4b6be2a9bfe66a9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raigo=20K=C3=B5vask?= Date: Fri, 2 Feb 2024 11:23:29 +0200 Subject: [PATCH 1/4] feat: add rpm source header to requests --- Source/RpmAvatarCreator/Private/Requests/BaseRequest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/RpmAvatarCreator/Private/Requests/BaseRequest.cpp b/Source/RpmAvatarCreator/Private/Requests/BaseRequest.cpp index fef1c6a..7f2b494 100644 --- a/Source/RpmAvatarCreator/Private/Requests/BaseRequest.cpp +++ b/Source/RpmAvatarCreator/Private/Requests/BaseRequest.cpp @@ -21,6 +21,7 @@ namespace const FString HEADER_AUTHORIZATION = "Authorization"; const FString HEADER_APP_ID = "X-APP-ID"; const FString HEADER_CONTENT_TYPE = "Content-Type"; + const FString HEADER_RPM_SOURCE = "rpm-source"; } FBaseRequest::FBaseRequest(const TSharedRef& CancellationDelegate, const FString& Url, const FString& AuthToken, ERequestVerb RequestVerb, const FString& Payload, float Timeout) @@ -41,6 +42,7 @@ void FBaseRequest::Download() { DownloadRequest->SetTimeout(Timeout); } + DownloadRequest->SetHeader(HEADER_RPM_SOURCE, "unreal"); DownloadRequest->SetURL(Url); if (!AuthToken.IsEmpty()) { From 8c12a93973fba62e5cf11701f6230b4e6e6d5ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raigo=20K=C3=B5vask?= Date: Mon, 5 Feb 2024 12:19:17 +0200 Subject: [PATCH 2/4] chore: add changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 70f0705..0e4b609 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [2.4.0] 2024-02-05 + +## Added + +feat: add rpm source header to requests by @rk132 in [#56](https://github.com/readyplayerme/rpm-unreal-sdk/pull/56) + ## [2.3.0] 2024-01-24 ## Fixed From b9caf319362c0c1ba9a58dec2f970a4102fea1f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raigo=20K=C3=B5vask?= Date: Mon, 5 Feb 2024 12:21:16 +0200 Subject: [PATCH 3/4] chore: update readme --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e4b609..901c7f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## Added -feat: add rpm source header to requests by @rk132 in [#56](https://github.com/readyplayerme/rpm-unreal-sdk/pull/56) +- Add rpm source header to requests by @rk132 in [#56](https://github.com/readyplayerme/rpm-unreal-sdk/pull/56) ## [2.3.0] 2024-01-24 From 64c3d31298bb8d96f0bfd1e5c881eb0ea3557ca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raigo=20K=C3=B5vask?= Date: Mon, 19 Feb 2024 12:06:30 +0200 Subject: [PATCH 4/4] chore: update README --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 901c7f6..cb2da39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## [2.4.0] 2024-02-05 +## [2.4.0] 2024-02-19 ## Added