例
$ curl -v -X OPTIONS http://example.com
* Trying 93.184.216.34...
* TCP_NODELAY set
* Connected to example.com (93.184.216.34) port 80 (#0)
> OPTIONS / HTTP/1.1
> Host: example.com
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Allow: OPTIONS, GET, HEAD, POST
< Cache-Control: max-age=604800
< Content-Type: text/html; charset=UTF-8
< Date: Wed, 13 Nov 2019 00:11:50 GMT
< Expires: Wed, 20 Nov 2019 00:11:50 GMT
< Server: EOS (vny006/0453)
< Content-Length: 0
<
* Connection #0 to host example.com left intact
* Closing connection 0
Original by Github issue
チャットメンバー募集
何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。