Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Commit ad4802c

Browse files
authored
Merge pull request #232 from dev-tony-hu/dev-tony-hu-http2
Use Http/2 by default in Kiota
2 parents 0b428c0 + 20a7700 commit ad4802c

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.3.9] - 2024-04-17
11+
12+
## Changed
13+
14+
- Set default request version to be Http/2
15+
1016
## [1.3.8] - 2024-03-25]
1117

1218
## Changed
@@ -232,4 +238,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
232238

233239
### Added
234240

235-
- Initial Nuget release
241+
- Initial Nuget release

src/HttpClientRequestAdapter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,7 @@ private HttpRequestMessage GetRequestMessageFromRequestInformation(RequestInform
538538
{
539539
Method = new HttpMethod(requestInfo.HttpMethod.ToString().ToUpperInvariant()),
540540
RequestUri = requestUri,
541+
Version=new Version(2,0)
541542
};
542543

543544
if(requestInfo.RequestOptions.Any())

src/Microsoft.Kiota.Http.HttpClientLibrary.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<PackageProjectUrl>https://aka.ms/kiota/docs</PackageProjectUrl>
1515
<EmbedUntrackedSources>true</EmbedUntrackedSources>
1616
<Deterministic>true</Deterministic>
17-
<VersionPrefix>1.3.8</VersionPrefix>
17+
<VersionPrefix>1.3.9</VersionPrefix>
1818
<VersionSuffix></VersionSuffix>
1919
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
2020
<!-- Enable this line once we go live to prevent breaking changes -->

0 commit comments

Comments
 (0)