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

TykTechnologies / tyk / 6993

Build:
DEFAULT BRANCH: master
Ran 29 Jul 2019 01:08PM UTC
Jobs 1
Files 0
Run time –
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
6993

push

travis-ci

buger
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);
});
```
Jobs
ID Job ID Ran Files Coverage
2 6993.2 (LATEST_GO=true) 29 Jul 2019 01:08PM UTC 0
Travis Job 6993.2
Source Files on build 6993
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6993
  • bb1fbb6f on github
  • Prev Build on master (#6987)
  • Next Build on master (#6996)
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