shamblett / coap

A Coap package for dart
Other
16 stars 13 forks source link

Remove unused CoAP Draft Specifications #49

Closed shamblett closed 2 years ago

shamblett commented 2 years ago

Going forward only CoAP IETF Draft 18 is going to be supported, the other older drafts should be removed.

The package should be updated to remove the older drafts, remove the configuration option to select the specification and the README updated to state that only Draft 18 is now supported.

shamblett commented 2 years ago

Note the comment from #51 -

It took me a couple of minutes but I now realized that the behavior of this test changed because the content-format is encoded as a string value and not as a the numeric representation from the registry, hence the mixed up bytes. I think we should open an issue for this or mention it in #49 as changing the encoded value to a numeric one messes up the tests for the older drafts :/ After the old drafts have been removed we could start fixing/updating the tests as a whole.

This should be addressed either as part of this issue or another issue raised as suggested.