… | |
… | |
123 | C<590>-C<599> and the C<Reason> pseudo-header will contain an error |
123 | C<590>-C<599> and the C<Reason> pseudo-header will contain an error |
124 | message. Currently the following status codes are used: |
124 | message. Currently the following status codes are used: |
125 | |
125 | |
126 | =over 4 |
126 | =over 4 |
127 | |
127 | |
128 | =item 595 - errors during connection etsbalishment, proxy handshake. |
128 | =item 595 - errors during connection establishment, proxy handshake. |
129 | |
129 | |
130 | =item 596 - errors during TLS negotiation, request sending and header processing. |
130 | =item 596 - errors during TLS negotiation, request sending and header processing. |
131 | |
131 | |
132 | =item 597 - errors during body receiving or processing. |
132 | =item 597 - errors during body receiving or processing. |
133 | |
133 | |
… | |
… | |
1216 | |
1216 | |
1217 | The key C<version> has to contain C<1>, otherwise the hash gets |
1217 | The key C<version> has to contain C<1>, otherwise the hash gets |
1218 | emptied. All other keys are hostnames or IP addresses pointing to |
1218 | emptied. All other keys are hostnames or IP addresses pointing to |
1219 | hash-references. The key for these inner hash references is the |
1219 | hash-references. The key for these inner hash references is the |
1220 | server path for which this cookie is meant, and the values are again |
1220 | server path for which this cookie is meant, and the values are again |
1221 | hash-references. The keys of those hash-references is the cookie name, and |
1221 | hash-references. Each key of those hash-references is a cookie name, and |
1222 | the value, you guessed it, is another hash-reference, this time with the |
1222 | the value, you guessed it, is another hash-reference, this time with the |
1223 | key-value pairs from the cookie, except for C<expires> and C<max-age>, |
1223 | key-value pairs from the cookie, except for C<expires> and C<max-age>, |
1224 | which have been replaced by a C<_expires> key that contains the cookie |
1224 | which have been replaced by a C<_expires> key that contains the cookie |
1225 | expiry timestamp. |
1225 | expiry timestamp. Session cookies are indicated by not having an |
|
|
1226 | C<_expires> key. |
1226 | |
1227 | |
1227 | Here is an example of a cookie jar with a single cookie, so you have a |
1228 | Here is an example of a cookie jar with a single cookie, so you have a |
1228 | chance of understanding the above paragraph: |
1229 | chance of understanding the above paragraph: |
1229 | |
1230 | |
1230 | { |
1231 | { |