خرید بک لینک

Vote count: 0

In http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part1-protocol.html

11.2.7 Requesting Entity References

If the resource path terminates on a single entity, the response MUST be the format-specific representation of an entity reference pointing to the related single entity. If the resource path terminates on a single entity and no such entity exists, the service retus 404 Not Found.

11.2.6 Requesting Related Entities

If the relationship terminates on a single entity, the response MUST be the format-specific representation of the related single entity. If no entity is related, the service retus 204 No Content

I think those two cases are similar, they should either both retu 404 or 204, why the specification defines the response differently.

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 15 فروردين 1395 ساعت: 10:13

صفحه بندی