fn parse_headers(
raw: &Value,
) -> Result<(Vec<(String, String)>, Vec<(String, String)>, Vec<String>), String>Expand description
Parses the headers config key. Two accepted shapes:
- structured:
{add: ["Name: value", ...], set: {name: value}, remove: [name]} - deprecated flat map:
{name: value}— treated asset(as APISIX does).