Skip to content

Commit

Permalink
expires might not be ISO 8601 (charles proxy output)
Browse files Browse the repository at this point in the history
  • Loading branch information
bararchy committed Aug 4, 2020
1 parent 2eb07a7 commit e68f9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/har/cookie.cr
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module HAR

# Cookie expiration time (ISO 8601 - `YYYY-MM-DDThh:mm:ss.sTZD`,
# e.g. `2009-07-24T19:20:30.123+02:00`).
property expires : Time?
property expires : Time | String?

# `true` if the cookie is HTTP only, `false` otherwise.
@[JSON::Field(key: "httpOnly")]
Expand Down

0 comments on commit e68f9d4

Please sign in to comment.