Skip to content

Commit

Permalink
Add case for all other middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
Luan van Pletsen committed Mar 16, 2018
1 parent 4abc345 commit 93e1ebb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api_definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,8 @@ func (a *APISpec) CheckSpecMatchesStatus(r *http.Request, rxPaths []URLSpec, mod
continue
} else if mode == HeaderInjectedResponse && v.InjectHeadersResponse.Path != ctxGetUrlRewritePath(r) {
continue
} else {
continue
}
}
switch v.Status {
Expand Down

0 comments on commit 93e1ebb

Please sign in to comment.