
Cite this RFC:TXT | XML | BibTeX
DOI: https://doi.org/10.17487/RFC7959
Discuss this RFC: Send questions or comments to the mailing listcore@ietf.org
Other actions:View Errata | Submit Errata | Find IPR Disclosures from the IETF | View History of RFC 7959
The Constrained Application Protocol (CoAP) is a RESTful transferprotocol for constrained nodes and networks. Basic CoAP messageswork well for small payloads from sensors and actuators; however,applications will need to transfer larger payloads occasionally --for instance, for firmware updates. In contrast to HTTP, where TCPdoes the grunt work of segmenting and resequencing, CoAP is based ondatagram transports such as UDP or Datagram Transport Layer Security(DTLS). These transports only offer fragmentation, which is evenmore problematic in constrained nodes and networks, limiting themaximum size of resource representations that can practically betransferred.
Instead of relying on IP fragmentation, this specification extendsbasic CoAP with a pair of "Block" options for transferring multipleblocks of information from a resource representation in multiplerequest-response pairs. In many important cases, the Block optionsenable a server to be truly stateless: the server can handle eachblock transfer separately, with no need for a connection setup orother server-side memory of previous block transfers. Essentially,the Block options provide a minimal way to transfer largerrepresentations in a block-wise fashion.
A CoAP implementation that does not support these options generallyis limited in the size of the representations that can be exchanged,so there is an expectation that the Block options will be widely usedin CoAP implementations. Therefore, this specification updatesRFC 7252.
For the definition ofStatus,seeRFC 2026.
For the definition ofStream, seeRFC 8729.