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

ooni / probe-cli / 6342950481
72%

Build:
DEFAULT BRANCH: master
Ran 28 Sep 2023 06:44PM UTC
Jobs 1
Files 511
Run time 21s
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

28 Sep 2023 06:39PM UTC coverage: 81.952% (-0.004%) from 81.956%
6342950481

push

github

web-flow
cleanup: common funcs for setting headers (#1332)

I was trying to make sure the code was using a new definition of headers
based on ArchivalMaybeBinaryString, but I stumbled upon a roadblock
where there were too many code paths settings headers.

I did not feel comfortable changing multiple code paths, so here is
instead a diff that unifies setting headers.

The slightly tricky part of this diff has been the requirement that we
preserve headers' capitalization for hhfm. The catch seems to be that we
should not use http.Header for setting the headers in hhfm, but rather
pass through map[string][]string, which is not attached case
normalization setters. I think we're fine in this department because we
already had test cases and I added a bunch more test cases.

After this diff is merged, I can resume with my plan to make headers use
ArchivalMaybeBinaryString, which, in turn, is functional to
automatically scrub headers, which is something we would like to happen
in light of the introduction of more happy eyeballs code due to
https://github.com/ooni/probe/issues/2531.

50 of 50 new or added lines in 4 files covered. (100.0%)

5 existing lines in 1 file now uncovered.

24257 of 29599 relevant lines covered (81.95%)

27.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 0 - 6342950481.1 28 Sep 2023 06:44PM UTC 0
81.95
GitHub Action Run
Source Files on build 6342950481
Detailed source file information is not available for this build.
  • Back to Repo
  • 3a350e88 on github
  • Prev Build on master (#6341892276)
  • Next Build on master (#6343227267)
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