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

dashofcode / tracker_api / 329
97%

Build:
DEFAULT BRANCH: master
Ran 31 Oct 2017 05:46PM UTC
Jobs 4
Files 62
Run time 46s
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
329

Pull #118

travis-ci

web-flow
Specify that the client accepts application/json

Responses to attachment upload requests return a JSON body with the Content-Type header set to 'text/html'. If we sepcify that we accept 'application/json', then the server will return the proper Content-Type header. This required a re-run of VCRs.

From the docs:

Note that the Content-type of the server response can lie. This behavior, while not strictly correct according to the protocol, is intended. There is a bug in Microsoft Internet Explorer that will cause it to navigate away from a page executing a JavaScript client app at the end of an upload if the server returns the (correct) type of application/json. The server will return the correct Content-type, instead of text/html, if the client includes application/json in the request's Accept header.

Source: https://www.pivotaltracker.com/help/api/#Uploading_File_Attachments
Pull Request #118: Handle non-JSON responses

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

1537 of 1585 relevant lines covered (96.97%)

1056.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 329.1 (2.1) 31 Oct 2017 05:47PM UTC 0
96.97
Travis Job 329.1
2 329.2 (2.2) 31 Oct 2017 05:46PM UTC 0
96.97
Travis Job 329.2
3 329.3 (2.3) 31 Oct 2017 05:46PM UTC 0
96.97
Travis Job 329.3
4 329.4 (2.4) 31 Oct 2017 05:46PM UTC 0
96.97
Travis Job 329.4
Source Files on build 329
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #329
  • Pull Request #118
  • PR Base - master (#328)
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