• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 8554935828
88%

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2024 01:01PM UTC
Jobs 1
Files 513
Run time 336min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Apr 2024 12:49PM UTC coverage: 87.046% (+0.02%) from 87.031%
8554935828

push

github

Totktonada
httpc: adding a new option in HTTP client

New option named http_version allows to set http version for each request.

Closes #9806

@TarantoolBot document
Title: `http_version` option for a set of functions in
`http.client` module.

The `http_version` option allows to set version of http in functions like
`request()`, `post()`, `get()` and etc using this curl option:
https://curl.se/libcurl/c/CURLOPT_HTTP_VERSION.html
The http_version takes one of the strings listed below or a nil value
and sets the appropriate protocol version.

List of supported values:
1) nil - works as '2-tls' by default.
2) '1.1' - sets HTTP/1.1 version.
3) '2' - sets HTTP/2 version that falls back to HTTP/1.1 if cannot be
   negotiated with the server.
4) '2-tls' - works as '2' for HTTPS and as '1.1' for plain text HTTP.
5) '2-prior-knowledge' sets HTTP/2 version without HTTP/1.1 at back.
   It requires prior knowledge that the server supports HTTP/2.

67207 of 119625 branches covered (56.18%)

18 of 18 new or added lines in 2 files covered. (100.0%)

16 existing lines in 9 files now uncovered.

99885 of 114750 relevant lines covered (87.05%)

2440702.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8554935828.1 04 Apr 2024 01:01PM UTC 0
87.05
GitHub Action Run
Source Files on build 8554935828
Detailed source file information is not available for this build.
  • Back to Repo
  • c3695de1 on github
  • Prev Build on master (#8553433723)
  • Next Build on master (#8555125087)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc