- Building Microservices with Go
- Nic Jackson
- 73字
- 2021-07-15 17:28:09
HEAD
A client would use the HEAD verb when they would like to retrieve the headers for a resource without the body. The HEAD verb is typically used in place of a GET verb when a client only wants to check if a resource exists or to read the metadata.
Request:
HEAD /v1/cats/12343 HTTP/1.1
Content-Type: application/json
Content-Length: 0
Response:
HTTP/1.1 200 OK
Content-Type: application/json
Last-Modified: Wed, 25 Feb 2004 22:37:23 GMT
Content-Length: 45
推薦閱讀
- Spring Cloud Alibaba核心技術與實戰案例
- C語言程序設計(第2 版)
- 數據結構和算法基礎(Java語言實現)
- Learn Programming in Python with Cody Jackson
- Flash CS6中文版應用教程(第三版)
- Python程序設計
- 零基礎學Python數據分析(升級版)
- Building an RPG with Unity 2018
- Advanced Oracle PL/SQL Developer's Guide(Second Edition)
- The DevOps 2.5 Toolkit
- QlikView Unlocked
- C++ System Programming Cookbook
- Getting Started with JUCE
- Pandas 1.x Cookbook
- PHP高性能開發:基礎、框架與項目實戰