xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. |
| 2 | SPDX-License-Identifier: curl |
| 3 | Long: alt-svc |
| 4 | Arg: <file name> |
| 5 | Protocols: HTTPS |
| 6 | Help: Enable alt-svc with this cache file |
| 7 | Added: 7.64.1 |
| 8 | Category: http |
| 9 | See-also: resolve connect-to |
| 10 | Example: --alt-svc svc.txt $URL |
| 11 | Multi: append |
| 12 | --- |
| 13 | This option enables the alt-svc parser in curl. If the file name points to an |
| 14 | existing alt-svc cache file, that will be used. After a completed transfer, |
| 15 | the cache will be saved to the file name again if it has been modified. |
| 16 | |
| 17 | Specify a "" file name (zero length) to avoid loading/saving and make curl |
| 18 | just handle the cache in memory. |
| 19 | |
| 20 | If this option is used several times, curl will load contents from all the |
| 21 | files but the last one will be used for saving. |