Skip to content

Commit

Permalink
feat(headers): Try expand header key and value
Browse files Browse the repository at this point in the history
  • Loading branch information
phire22 committed Mar 12, 2024
1 parent aa46eae commit a793551
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wireman/src/model/headers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ impl HeadersModel {
// Metadata
for (key, val) in &self.meta.headers {
if !key.is_empty() {
let _ = map.insert(key.get_text_raw(), val.get_text_raw());
let key = try_expand(&key.get_text_raw());
let val = try_expand(&val.get_text_raw());
let _ = map.insert(key, val);
}
}
map
Expand Down

0 comments on commit a793551

Please sign in to comment.