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

projectatomic / osbs-client / 2773
78%
master: 86%

Build:
Build:
LAST BUILD BRANCH: obsb7503
DEFAULT BRANCH: master
Ran 13 Jun 2017 11:48AM UTC
Jobs 4
Files 20
Run time 37s
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
2773

push

travis-ci

twaugh
Return Unicode text from log-fetching methods

When streaming or fetching logs, return Unicode text by decoding
the response according to the HTTP headers.

Use response.text to automatically decode the HTTP response when not
streaming it.

When streaming it, response.iter_lines() returns the encoded bytes. Use
the response headers to decide how to decode it; if these are not
present, use guess_json_utf() if JSON is expected, and guess 'utf-8'
otherwise.

We always decode responses before passing them back to the client
because only the response headers say how to interpret the bytes.

Signed-off-by: Tim Waugh <twaugh@redhat.com>

2661 of 3429 relevant lines covered (77.6%)

3.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2773.1 13 Jun 2017 11:48AM UTC 0
76.7
Travis Job 2773.1
2 2773.2 13 Jun 2017 11:48AM UTC 0
76.82
Travis Job 2773.2
3 2773.3 13 Jun 2017 11:48AM UTC 0
77.14
Travis Job 2773.3
4 2773.4 13 Jun 2017 11:49AM UTC 0
77.14
Travis Job 2773.4
Source Files on build 2773
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2773
  • fe8edc69 on github
  • Prev Build on stream-logs-as-unicode (#2771)
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