Previosly the CoAP server transmitted the first block of data for Block2
transfer, even when a client requested in Block2 request following
block. This patch changes server operation to transmit the payload
block requested by the client.
Signed-off-by: Hubert Miś <hubert.mis@gmail.com>
- removed obsolete imports
- Location-Path and Location-Query only in answers with "Created" Status
- Fixed / for root-resource as RemoteResource for reverse-proxy
- Fixed parsing of long options in serializer.py
- Commented out unit tests reactivated
- Removed default logging
On the last block answer, the Client still sent another empty message, it didn't take into account the fact that the previous block was sent with m=0. This commit fixed that for me.