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

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

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

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 2769.1 13 Jun 2017 11:32AM UTC 0
76.7
Travis Job 2769.1
2 2769.2 13 Jun 2017 11:32AM UTC 0
76.82
Travis Job 2769.2
3 2769.3 13 Jun 2017 11:32AM UTC 0
77.14
Travis Job 2769.3
4 2769.4 13 Jun 2017 11:32AM UTC 0
77.14
Travis Job 2769.4
Source Files on build 2769
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2769
  • 6667132a on github
  • Prev Build on stream-logs-as-unicode (#2767)
  • Next 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