Skip to content

Commit

Permalink
policy/soap: delete unused method starts_with
Browse files Browse the repository at this point in the history
  • Loading branch information
davidor committed Feb 8, 2018
1 parent f08c1fb commit d6b2d3e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions gateway/src/apicast/policy/soap/soap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ local soap_action_ctype = 'application/soap+xml'

local new = _M.new

local function starts_with(str, start)
return sub(str, 1, len(start)) == start
end

-- Extracts a SOAP action from the SOAPAction header. Returns nil when not
-- present.
local function soap_action_in_header(headers)
Expand Down

0 comments on commit d6b2d3e

Please sign in to comment.