etag-compare.d 711 B

12345678910111213141516171819
  1. Long: etag-compare
  2. Arg: <file>
  3. Help: Pass an ETag from a file as a custom header
  4. Protocols: HTTP
  5. Added: 7.68.0
  6. Category: http
  7. ---
  8. This option makes a conditional HTTP request for the specific
  9. ETag read from the given file by sending a custom If-None-Match
  10. header using the extracted ETag.
  11. For correct results, make sure that specified file contains only a single
  12. line with a desired ETag. An empty file is parsed as an empty ETag.
  13. Use the option --etag-save to first save the ETag from a response, and
  14. then use this option to compare using the saved ETag in a subsequent request.
  15. \fBCOMPARISON\fP: There are 2 types of comparison or ETags: Weak and Strong.
  16. This option expects, and uses a strong comparison.