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

webrecorder / warcio / 146 / 3
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 05 Oct 2018 08:21PM UTC
Files 12
Run time 0s
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

05 Oct 2018 08:20PM UTC coverage: 99.842% (+0.9%) from 98.954%
146.3

push

travis-ci

web-flow
New record HTTP http semantics (#43)

* add ability to record http traffic to warc directly!
Supports:

with (filename_or_warc_writer):
    requests.get(...)

- monkey-patch http.client.HTTPConnection (used by requests, etc..)
- contextmanager uses warc_writer to write captured data to warc
- optional filter callback to skip writing based on request/response
- use thread local to support concurrent recording, lock warc writer
- tests with requests, using httpbin
- add coveragerc with branching
- bump version to 1.6.0

- support passing filename directly to record_http, creates WARCWriter automatically
- remove record_http from default package init to avoid always monkey-patching
- pass warc_writer to filter function

- default record_http() with filename to append=True
- if append=False, open in exclusive write, raising if file already exists (don't provide option to overwrite existing WARC to discourage this)
- utils: add warcio.utils.open() which supports exclusive open 'x' mode for python 2.7

403 of 420 branches covered (95.95%)

1261 of 1263 relevant lines covered (99.84%)

1.0 hits per line

Source Files on job 146.3
  • Tree
  • List 0
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 146
  • Travis Job 146.3
  • bb5b22ce on github
  • Prev Job for on develop (#144.1)
  • Next Job for on develop (#150.6)
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