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

Kikobeats / send-http / 30559414125
100%

Build:
DEFAULT BRANCH: master
Ran 30 Jul 2026 04:00PM UTC
Jobs 1
Files 1
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

30 Jul 2026 04:00PM UTC coverage: 100.0%. Remained the same
30559414125

push

github

web-flow
Simplify sweep: two bug fixes and a faster response path (#21)

* refactor: simplify and speed up the stream path

Flatten the sniffer pipeline when the content-type is already known: the
nested pipeline the sniffer builds is pure overhead once there is nothing
to detect. ~13% throughput on a 64KB body.

The hop itself stays. Piping a request stream straight into a
ServerResponse copies its headers over, past the proxy allowlist.

Also: forward send's options to sendStream, swap proxy's finished() for a
close listener, hoist the pipeline callback, and unify the content-type
predicate.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011WbFt6CmzN7vNw1kAXAbtm

* refactor: one buffered tail, one pass over the payload

A string was measured, written and then encoded: three walks of the same
bytes. Encoding it once up front cuts ~35% off a 256KB body and leaves
small ones where they were.

That gives every buffered body the same shape, so the Buffer branch stops
ending the response behind create()'s back: the hook now sees every
buffered body, which is what the README always claimed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011WbFt6CmzN7vNw1kAXAbtm

* fix: one rule for whether a response can still be answered

The README's own onError example calls send() from a stream error, and
past the headers that threw ERR_HTTP_HEADERS_SENT from a listener with no
catch above it: an upstream failing mid-body took the process with it.

The stream path already refused to touch a response that had gone; the
buffered path did not. Both now ask canAnswer(), which is also the
condition destroyUnanswered was spelling out by hand.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011WbFt6CmzN7vNw1kAXAbtm

* docs: say what the library actually does

It writes to a ServerRespo... (continued)

42 of 42 branches covered (100.0%)

Branch coverage included in aggregate %.

110 of 110 relevant lines covered (100.0%)

8.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30559414125.1 30 Jul 2026 04:00PM UTC 1
100.0
GitHub Action Run
Source Files on build 30559414125
  • Tree
  • List 1
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30559414125
  • 773f6d8b on github
  • Prev Build on master (#30548598266)
  • Next Build on master (#30562492779)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc