Skip to content

Commit

Permalink
fix: Add set-cookie header to the list of single value headers #353
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Jan 17, 2024
1 parent db97092 commit ab1d496
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rust/pact_models/src/headers.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
pub static PARAMETERISED_HEADERS: [&str; 2] = ["accept", "content-type"];
pub static SINGLE_VALUE_HEADERS: [&str; 7] = [
pub static SINGLE_VALUE_HEADERS: [&str; 8] = [
"date",
"accept-datetime",
"if-modified-since",
"if-unmodified-since",
"expires",
"retry-after",
"last-modified"
"last-modified",
"set-cookie"
];

/// Tries to parse the header value into multiple values, taking into account headers that should
Expand Down

0 comments on commit ab1d496

Please sign in to comment.