Christian Amsüss
2017-07-13 15:00:47 UTC
Hello working group,
with FETCH, it is now more realistic to get into a situation where an
observation is established from a request whose body spans multiple
Block1 exchanges.
RFC7959 Section 2.6 explains how observe and blockwise interact, but
only considers interaction between Block2 and observation.
I'd implement it in a way that the Observe option is set on the initial
Block1 (and thus the observation results ride on that request's token),
but found no text on that, and someone else might send the Observe
option on (and request the token of) the last Block1. My earlier
implementation would even have sent the Observe option with every
block.
What do other implementers do there, what are the authors' opinions on
this, and where can we write down how to do that?
(This came up when refactoring the blockwise implementation of the
aiocoap library).
Best regards
Christian
with FETCH, it is now more realistic to get into a situation where an
observation is established from a request whose body spans multiple
Block1 exchanges.
RFC7959 Section 2.6 explains how observe and blockwise interact, but
only considers interaction between Block2 and observation.
I'd implement it in a way that the Observe option is set on the initial
Block1 (and thus the observation results ride on that request's token),
but found no text on that, and someone else might send the Observe
option on (and request the token of) the last Block1. My earlier
implementation would even have sent the Observe option with every
block.
What do other implementers do there, what are the authors' opinions on
this, and where can we write down how to do that?
(This came up when refactoring the blockwise implementation of the
aiocoap library).
Best regards
Christian
--
To use raw power is to make yourself infinitely vulnerable to greater powers.
-- Bene Gesserit axiom
To use raw power is to make yourself infinitely vulnerable to greater powers.
-- Bene Gesserit axiom