httpie / cli

🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.
https://httpie.io
BSD 3-Clause "New" or "Revised" License
32.71k stars 3.67k forks source link

Add HTTP/3 to mapping in property version (HTTPResponse) #1513

Closed Ousret closed 9 months ago

Ousret commented 1 year ago

Also, prefer HTTP/2 instead of HTTP/2.0

Help #1512

Note: pygment HTTPLexer support HTTP/2.0 and HTTP/2, but not HTTP/3.0 (only HTTP/3) The correct thing to do is to support HTTP/2 short.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 90.24% and project coverage change: -3.02 :warning:

Comparison is base (4d7d6b6) 97.28% compared to head (7902bdd) 94.26%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1513 +/- ## ========================================== - Coverage 97.28% 94.26% -3.02% ========================================== Files 67 113 +46 Lines 4235 7695 +3460 ========================================== + Hits 4120 7254 +3134 - Misses 115 441 +326 ``` | [Impacted Files](https://app.codecov.io/gh/httpie/httpie/pull/1513?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [httpie/output/ui/man\_pages.py](https://app.codecov.io/gh/httpie/httpie/pull/1513?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-aHR0cGllL291dHB1dC91aS9tYW5fcGFnZXMucHk=) | `0.00% <0.00%> (ø)` | | | [httpie/output/ui/rich\_utils.py](https://app.codecov.io/gh/httpie/httpie/pull/1513?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-aHR0cGllL291dHB1dC91aS9yaWNoX3V0aWxzLnB5) | `0.00% <0.00%> (ø)` | | | [tests/test\_binary.py](https://app.codecov.io/gh/httpie/httpie/pull/1513?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-dGVzdHMvdGVzdF9iaW5hcnkucHk=) | `100.00% <ø> (ø)` | | | [tests/test\_sessions.py](https://app.codecov.io/gh/httpie/httpie/pull/1513?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-dGVzdHMvdGVzdF9zZXNzaW9ucy5weQ==) | `99.70% <ø> (-0.30%)` | :arrow_down: | | [tests/test\_ssl.py](https://app.codecov.io/gh/httpie/httpie/pull/1513?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-dGVzdHMvdGVzdF9zc2wucHk=) | `92.59% <ø> (-2.35%)` | :arrow_down: | | [tests/test\_stream.py](https://app.codecov.io/gh/httpie/httpie/pull/1513?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-dGVzdHMvdGVzdF9zdHJlYW0ucHk=) | `100.00% <ø> (ø)` | | | [tests/test\_tokens.py](https://app.codecov.io/gh/httpie/httpie/pull/1513?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-dGVzdHMvdGVzdF90b2tlbnMucHk=) | `100.00% <ø> (ø)` | | | [tests/test\_update\_warnings.py](https://app.codecov.io/gh/httpie/httpie/pull/1513?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-dGVzdHMvdGVzdF91cGRhdGVfd2FybmluZ3MucHk=) | `99.14% <ø> (ø)` | | | [tests/test\_uploads.py](https://app.codecov.io/gh/httpie/httpie/pull/1513?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-dGVzdHMvdGVzdF91cGxvYWRzLnB5) | `96.70% <ø> (-3.30%)` | :arrow_down: | | [tests/test\_xml.py](https://app.codecov.io/gh/httpie/httpie/pull/1513?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-dGVzdHMvdGVzdF94bWwucHk=) | `97.56% <ø> (-0.06%)` | :arrow_down: | | ... and [88 more](https://app.codecov.io/gh/httpie/httpie/pull/1513?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Ousret commented 9 months ago

Superseded by https://github.com/httpie/cli/pull/1531