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

webrecorder / warcio / 146
100%
master: 100%

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

pending completion
146

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

397 of 414 branches covered (95.89%)

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

1261 of 1263 relevant lines covered (99.84%)

4.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 146.1 05 Oct 2018 08:21PM UTC 0
99.05
Travis Job 146.1
2 146.2 05 Oct 2018 08:21PM UTC 0
99.84
Travis Job 146.2
3 146.3 05 Oct 2018 08:21PM UTC 0
99.84
Travis Job 146.3
4 146.4 05 Oct 2018 08:21PM UTC 0
99.84
Travis Job 146.4
5 146.5 05 Oct 2018 08:21PM UTC 0
99.45
Travis Job 146.5
Source Files on build 146
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #146
  • bb5b22ce on github
  • Prev Build on develop (#144)
  • Next Build on develop (#150)
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