Skip to content

Feature: Added support for HTTP/2 to improve perf#2687

Merged
KoenZomers merged 7 commits intopnp:devfrom
gautamdsheth:feature/http2-support
Jan 17, 2023
Merged

Feature: Added support for HTTP/2 to improve perf#2687
KoenZomers merged 7 commits intopnp:devfrom
gautamdsheth:feature/http2-support

Conversation

@gautamdsheth
Copy link
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

NA

What is in this Pull Request ?

Added HTTP/2 support for all HTTP requests to improve performance.
It will by default fallback to 1.1 if the server doesn't support.

@KoenZomers
Copy link
Collaborator

Tested this PR. When I execute i.e. Get-PnPMicrosoft365Group, I see it has HTTP 2.0 in the requestmessage. Fiddler however shows a normal HTTP 1.1 connection is being made:

image

image

Is that as expected? What would make the code ask the server for HTTP 2.0 I'm wondering?

@KoenZomers
Copy link
Collaborator

No issues from my current machine. Must have been a connection issue. Going to proceed with merging.

@KoenZomers KoenZomers merged commit 63e65b0 into pnp:dev Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants