postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.83k stars 839 forks source link

Code Snippet is not updating HTTP version #13173

Open sreeram77 opened 3 weeks ago

sreeram77 commented 3 weeks ago

Is there an existing issue for this?

Describe the Issue

I set the HTTP version as HTTP/2. But this is not reflecting in the code snippet. Screenshot from 2024-10-02 19-47-58

Screenshot from 2024-10-02 19-50-16

Steps To Reproduce

  1. Open Settings > General.
  2. Set Request > HTTP Version to "HTTP/2"
  3. Create a new HTTP Request.
  4. Open Code snippet tab. Set language to HTTP.

Screenshots or Videos

Screenshot from 2024-10-02 19-47-58 Screenshot from 2024-10-02 19-50-16

Operating System

Linux

Postman Version

11.15.0

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response

parthverma1 commented 2 weeks ago

HI @sreeram77 Thanks for pointing this bug out. Will update the thread once we rollout a fix for this.