[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 133/282: HTTP-COOKIES: mention that a trailing newline is requir
From: |
gnunet |
Subject: |
[gnurl] 133/282: HTTP-COOKIES: mention that a trailing newline is required |
Date: |
Wed, 01 Apr 2020 14:29:58 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 67d26a361a6867eb7028c12c4d84bf7b93cb515c
Author: Daniel Stenberg <address@hidden>
AuthorDate: Tue Feb 18 14:23:04 2020 +0100
HTTP-COOKIES: mention that a trailing newline is required
... so that we know we got the whole and not a partial line.
Also, changed the formatting of the fields away from a table again since
the table format requires a github-markdown tool version that we don't
run on the web server atm.
Reported-by: Sunny Bean
Fixes #4946
Closes #4947
---
docs/HTTP-COOKIES.md | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/docs/HTTP-COOKIES.md b/docs/HTTP-COOKIES.md
index 62367c2a9..31af9f6d9 100644
--- a/docs/HTTP-COOKIES.md
+++ b/docs/HTTP-COOKIES.md
@@ -49,17 +49,20 @@
that start with `#` are treated as comments.
Each line that each specifies a single cookie consists of seven text fields
- separated with TAB characters.
-
- |Field| Type | Example | Meaning |
- |---|---------|-------------|-----------------------------------------------|
- | 0 | string | example.com | Domain name |
- | 1 | boolean | FALSE | Include subdomains |
- | 2 | string | /foobar/ | Path |
- | 3 | boolean | TRUE | Send/receive over HTTPS only |
- | 4 | number | 1462299217 | Expires at – seconds since Jan 1st 1970, or 0 |
- | 5 | string | person | Name of the cookie |
- | 6 | string | daniel | Value of the cookie |
+ separated with TAB characters. A valid line must end with a newline
+ character.
+
+### Fields in the file
+
+ Field number, what type and example data and the meaning of it:
+
+ 0. string `example.com` - the domain name
+ 1. boolean `FALSE` - include subdomains
+ 2. string `/foobar/` - path
+ 3. boolean `TRUE` - send/receive over HTTPS only
+ 4. number `1462299217` - expires at - seconds since Jan 1st 1970, or 0
+ 5. string `person` - name of the cookie
+ 6. string `daniel` - value of the cookie
## Cookies with curl the command line tool
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnurl] 115/282: tool_homedir: Change GetEnv() to use libcurl's curl_getenv(), (continued)
- [gnurl] 115/282: tool_homedir: Change GetEnv() to use libcurl's curl_getenv(), gnunet, 2020/04/01
- [gnurl] 118/282: TODO: CURLOPT_SSL_CTX_FUNCTION for LDAPS, gnunet, 2020/04/01
- [gnurl] 126/282: rename: a new file for Curl_rename(), gnunet, 2020/04/01
- [gnurl] 124/282: RELEASE-NOTES: synced, gnunet, 2020/04/01
- [gnurl] 110/282: create-dirs.d: mention the mode, gnunet, 2020/04/01
- [gnurl] 109/282: CURLOPT_ALTSVC_CTRL.3: fix the DEFAULT wording, gnunet, 2020/04/01
- [gnurl] 117/282: azure: disable brotli on the macos debug-builds, gnunet, 2020/04/01
- [gnurl] 125/282: cookies: make saving atomic with a rename, gnunet, 2020/04/01
- [gnurl] 122/282: multi: if Curl_readwrite sets 'comeback' use expire, not loop, gnunet, 2020/04/01
- [gnurl] 119/282: TODO: Paged searches on LDAP server, gnunet, 2020/04/01
- [gnurl] 133/282: HTTP-COOKIES: mention that a trailing newline is required,
gnunet <=
- [gnurl] 130/282: SOCKS: fix typo in printf formatting, gnunet, 2020/04/01
- [gnurl] 127/282: altsvc: make saving the cache an atomic operation, gnunet, 2020/04/01
- [gnurl] 129/282: CURLOPT_REDIR_PROTOCOLS.3: update the DEFAULT section, gnunet, 2020/04/01
- [gnurl] 135/282: win32: USE_WIN32_CRYPTO to enable Win32 based MD4, MD5 and SHA256 functions, gnunet, 2020/04/01
- [gnurl] 142/282: md4: Fixed compilation issues when using GNU TLS gcrypt, gnunet, 2020/04/01
- [gnurl] 131/282: tool_util: Improve Windows version of tvnow(), gnunet, 2020/04/01
- [gnurl] 128/282: docs/GOVERNANCE: refreshed + added "donations" and "commercial support", gnunet, 2020/04/01
- [gnurl] 138/282: GnuTLS: Always send client cert, gnunet, 2020/04/01
- [gnurl] 134/282: connect: remove some spurious infof() calls, gnunet, 2020/04/01
- [gnurl] 136/282: cleanup: comment typos, gnunet, 2020/04/01