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

jarcoal / httpmock / 11838697772
100%

Build:
DEFAULT BRANCH: v1
Ran 14 Nov 2024 02:00PM UTC
Jobs 1
Files 9
Run time 1min
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

14 Nov 2024 01:59PM UTC coverage: 99.923%. Remained the same
11838697772

push

github

maxatome
Make http.Response.Status respect RFC 2616, like in Go stdlib.

Although RFC 2616 has been superseded with RFC 9110, some client implementation still rely on certain behavious regarding the Status-Line.

Now, as httpmock currently implements it, per [RFC 9110#6.2-1](https://www.rfc-editor.org/rfc/rfc9110.html#section-6.2-1), the "reason phrase" is actually optional, and you need only to include the status code.

Back in the days of [RFC 2616](https://www.rfc-editor.org/rfc/rfc2616.html#section-6.1), per #6.1, the Status-Line had to contain both the status code (eg. 200) and its textual representation (eg. OK).

Change code is directly stolen from the Go standard library.

Signed-off-by: Cléo Rebert <cleo.rebert@gmail.com>

2 of 2 new or added lines in 1 file covered. (100.0%)

1305 of 1306 relevant lines covered (99.92%)

62.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11838697772.1 14 Nov 2024 02:00PM UTC 9
99.92
GitHub Action Run
Source Files on build 11838697772
  • Tree
  • List 9
  • Changed 1
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1ebd59a9 on github
  • Prev Build on v1 (#11211088445)
  • Next Build on v1 (#12514181411)
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

© 2025 Coveralls, Inc