Skip to content

update CHANGES #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## v4.3.1 2025-06-15
- remove check for duplicate cookies, navigator may send duplicate cookies and break the server
- allow max-age of 0L and -1L as it is a standard way to expire a cookie
- expiring a cookie should not remove domain and path

## v4.3 2023-01-17
- add `expire` functionality (#8 @craff)
- make http-cookie more lean by removing `fmt` dependency.
Expand Down
5 changes: 2 additions & 3 deletions docs/http-cookie/Http_cookie/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/http-cookie/index.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (http-cookie.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – http-cookie</nav><header class="odoc-preamble"><h1 id="http-cookie-index"><a href="#http-cookie-index" class="anchor"></a>http-cookie index</h1></header><nav class="odoc-toc"><ul><li><a href="#library-http-cookie">Library http-cookie</a></li></ul></nav><div class="odoc-content"><h2 id="library-http-cookie"><a href="#library-http-cookie" class="anchor"></a>Library http-cookie</h2><p>The entry point of this library is the module: <a href="Http_cookie/index.html"><code>Http_cookie</code></a>.</p></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (http-cookie.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../odoc.support/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../index.html">Index</a> &#x00BB; http-cookie</nav><header class="odoc-preamble"><h1 id="http-cookie-index"><a href="#http-cookie-index" class="anchor"></a>http-cookie index</h1></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#library-http-cookie">Library http-cookie</a></li></ul></nav></div><div class="odoc-content"><h2 id="library-http-cookie"><a href="#library-http-cookie" class="anchor"></a>Library http-cookie</h2><p>The entry point of this library is the module: <a href="Http_cookie/index.html"><code>Http_cookie</code></a>.</p></div></body></html>
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="by-name">
<h2>OCaml package documentation</h2>
<ol>
<li><a href="http-cookie/index.html">http-cookie</a> <span class="version">4.3.0</span></li>
<li><a href="http-cookie/index.html">http-cookie</a> <span class="version">4.3.1</span></li>
</ol>
</div>
</main>
Expand Down
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

(name http-cookie)

(version 4.3.0)
(version 4.3.1)

(using mdx 0.3)

Expand Down
2 changes: 1 addition & 1 deletion http-cookie.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "4.3.0"
version: "4.3.1"
synopsis: "HTTP cookie library for OCaml"
description: """
A comprehensive and strict standards compliant HTTP cookies library for ocaml.
Expand Down
2 changes: 1 addition & 1 deletion lib/http_cookie.mli
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ val to_set_cookie : t -> string
Example of a string returned by the function,

{v
SID=31d4d96e407aad42; Path=/; Secure; HttpOnly; Expires=Sun, 06 Nov 1994 08:49:37 GMT
SID=31d4d96e407aad42; Path=/; Secure; HttpOnly; Expires=Sun, 06 Nov 1994 08:49:37 GMT
v} *)

val of_set_cookie : string -> (t, string) result
Expand Down