sajad torkamani
curl -i -X OPTIONS example.com

Example output:

HTTP/1.1 200 OK
Allow: OPTIONS, GET, HEAD, POST
Cache-Control: max-age=604800
Content-Type: text/html; charset=UTF-8
Date: Thu, 13 Jan 2022 15:26:03 GMT
Expires: Thu, 20 Jan 2022 15:26:03 GMT
Server: EOS (vny/0452)
Content-Length: 0