mirror of
https://github.com/obgm/libcoap.git
synced 2026-10-31 06:55:47 +03:00
A unique Request-Tag is added to any PUT/POST/FETCH request that contains a large body. The server is then able to differentiate between concurrent sending of large data using the same session. If a server responds with a 4.01 and includes an Echo option, then the libcoap client retransmits the request adding in the received Echo option with the same value. If the server responds normally with an Echo option, then the next request from the libcoap client (internally added by libcoap) will contain that Echo option. It is the responsibility of the server application to add in the Echo option if required and validate the next request unless the Echo is triggered by OSCORE (RFC8613 Appendix B.1.2).