[Improvement]: Update REST API examples to use HTTP/2 instead of HTTP/1.1 #5992
Labels
Projects
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


What feature or product is affected?
REST API
What is the new or expected behavior?
use HTTP/2 instead of HTTP/1.1
How is the old or inaccurate behavior currently documented?
The REST API examples should use HTTP/2 instead of HTTP/1.1
For example, in this code snippet,
would change to
Note: To compare HTTP2 vs HTTP1.1 responses, you can pass the
-voption to curl:curl -i https://api.github.com -v --http1.1Who does this affect?
users of the REST API
What is the impact to users?
confusion about differences between the API responses that the user sees and what the docs show
The text was updated successfully, but these errors were encountered: