Skip to content

Commit

Permalink
refactor(req-transformer) append, replace of header/querystring
Browse files Browse the repository at this point in the history
Fix for issue #393 for response-transformer motivated fix for this plugin too. New config append/replace added to support adding new value to existing header/querystring and
replcaing  existing header/querystring with new value.
  • Loading branch information
Shashi Ranjan authored and subnetmarco committed Jan 21, 2016
1 parent 5feacd1 commit 20d4b72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kong/plugins/request-transformer/access.lua
Original file line number Diff line number Diff line change
Expand Up @@ -310,4 +310,4 @@ function _M.execute(conf)
transform_querystrings(conf)
end

return _M
return _M
2 changes: 1 addition & 1 deletion kong/plugins/request-transformer/schema.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ return {
}
}
}
}
}
2 changes: 1 addition & 1 deletion spec/plugins/request-transformer/access_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -459,4 +459,4 @@ describe("Request Transformer", function()
assert.equal("20", body.queryString["q1"])
end)
end)
end)
end)

0 comments on commit 20d4b72

Please sign in to comment.