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

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

Build:
Build:
LAST BUILD BRANCH: obsb7503
DEFAULT BRANCH: master
Ran 13 Jun 2017 10:20AM UTC
Jobs 4
Files 20
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

pending completion
2767

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>

2660 of 3429 relevant lines covered (77.57%)

3.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2767.1 13 Jun 2017 10:20AM UTC 0
75.42
Travis Job 2767.1
2 2767.2 13 Jun 2017 10:20AM UTC 0
76.79
Travis Job 2767.2
3 2767.3 13 Jun 2017 10:20AM UTC 0
77.11
Travis Job 2767.3
4 2767.4 13 Jun 2017 10:21AM UTC 0
77.11
Travis Job 2767.4
Source Files on build 2767
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2767
  • 5fa10bbc on github
  • Prev Build on stream-logs-as-unicode (#2766)
  • Next Build on stream-logs-as-unicode (#2769)
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