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

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

Build:
Build:
LAST BUILD BRANCH: obsb7503
DEFAULT BRANCH: master
Ran 13 Jun 2017 08:29AM UTC
Jobs 4
Files 20
Run time 2min
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
2759

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>

2652 of 3428 relevant lines covered (77.36%)

3.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2759.1 13 Jun 2017 08:29AM UTC 0
75.2
Travis Job 2759.1
2 2759.2 13 Jun 2017 08:29AM UTC 0
76.58
Travis Job 2759.2
3 2759.3 13 Jun 2017 08:30AM UTC 0
76.9
Travis Job 2759.3
4 2759.4 13 Jun 2017 08:31AM UTC 0
76.9
Travis Job 2759.4
Source Files on build 2759
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2759
  • cdc5dd31 on github
  • Prev Build on stream-logs-as-unicode (#2755)
  • Next Build on stream-logs-as-unicode (#2761)
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