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

TykTechnologies / tyk / 7047
62%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 06 Aug 2019 11:18AM UTC
Jobs 1
Files 106
Run time 16s
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
7047

push

travis-ci

Tyk Bot
mw_js_plugin: extend ReturnOverrides HTTP code check to allow redirects (#2429) (#2430)

Fix for #2429, with this patch the following code is able to trigger a redirect:
```js
var sampleMiddleware = new TykJS.TykMiddleware.NewMiddleware({});

sampleMiddleware.NewProcessRequest(function(request, session, spec) {
  console.log("sampleMiddleware is called")
  request.ReturnOverrides.ResponseCode = 301
  request.ReturnOverrides.ResponseHeaders = {
    "Location": "http://anotherurl.com/"
  }
  return sampleMiddleware.ReturnData(request, session.meta_data);
});
```

(cherry picked from commit bb1fbb6f8)

10747 of 17208 relevant lines covered (62.45%)

0.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7047.1 (LATEST_GO=true) 06 Aug 2019 11:18AM UTC 0
62.45
Travis Job 7047.1
Source Files on build 7047
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7047
  • 3eba7241 on github
  • Prev Build on release-2.8 (#7046)
  • Next Build on release-2.8 (#7049)
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