plgd-dev / go-coap

Implementation of CoAP Server & Client in Go

Home Page:https://coap.technology

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Media type strings do not match IANA registry

hasheddan opened this issue · comments

Similar to #484, many of the media types do not match their representation in the IANA registry, which can make it difficult to handle them generically. Most of the offenders are due to the inclusion of the RFC suffix.

Happy to make the necessary updates here, @jkralik are you open to moving towards matching the IANA registry?

@Danielius1922 I am happy to work on this if you want to assign me 🙂

Sounds alright to me, I've checked our repositories and the only place we use it is in a test. But there might be some hidden code I don't have access to, so we must wait for @jkralik to say if it is alright.

@hasheddan I've talked with @jkralik about this, and we think can remove the RFC suffixes.

@Danielius1922 thanks! Will do shortly 👍🏻