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

Commit

Permalink
Merge pull request #232 from dev-tony-hu/dev-tony-hu-http2
Browse files Browse the repository at this point in the history
Use Http/2 by default in Kiota
  • Loading branch information
andrueastman authored Apr 17, 2024
2 parents 0b428c0 + 20a7700 commit ad4802c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.3.9] - 2024-04-17

## Changed

- Set default request version to be Http/2

## [1.3.8] - 2024-03-25]

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

### Added

- Initial Nuget release
- Initial Nuget release
1 change: 1 addition & 0 deletions src/HttpClientRequestAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ private HttpRequestMessage GetRequestMessageFromRequestInformation(RequestInform
{
Method = new HttpMethod(requestInfo.HttpMethod.ToString().ToUpperInvariant()),
RequestUri = requestUri,
Version=new Version(2,0)
};

if(requestInfo.RequestOptions.Any())
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Kiota.Http.HttpClientLibrary.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<PackageProjectUrl>https://aka.ms/kiota/docs</PackageProjectUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<Deterministic>true</Deterministic>
<VersionPrefix>1.3.8</VersionPrefix>
<VersionPrefix>1.3.9</VersionPrefix>
<VersionSuffix></VersionSuffix>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<!-- Enable this line once we go live to prevent breaking changes -->
Expand Down

0 comments on commit ad4802c

Please sign in to comment.