Content-Range 失踪 header
Content-Range missing header
我遇到了这个错误,但我真的不明白为什么。其他询问不包含有用的信息,所以我尝试再次询问以提供更多详细信息
Content range missing header
Response detail
如文档中所述:
The simple REST client expects the API to include a Content-Range
header in the response to GET_LIST
calls. The value must be the total number of resources in the collection. This allows admin-on-rest to know how many pages of resources there are in total, and build the pagination controls.
您的 header 不符合要求的格式:
Content-Range: posts 0-24/319
我遇到了这个错误,但我真的不明白为什么。其他询问不包含有用的信息,所以我尝试再次询问以提供更多详细信息 Content range missing header Response detail
如文档中所述:
The simple REST client expects the API to include a
Content-Range
header in the response toGET_LIST
calls. The value must be the total number of resources in the collection. This allows admin-on-rest to know how many pages of resources there are in total, and build the pagination controls.
您的 header 不符合要求的格式:
Content-Range: posts 0-24/319