mafintosh / multicast-dns-service-types

Parse and stringify mdns service types
MIT License
15 stars 4 forks source link

Substrings don't require underscores #3

Open wesleytodd opened 8 years ago

wesleytodd commented 8 years ago

https://tools.ietf.org/html/rfc6763#section-7.1

Subtype strings are not required to begin with an underscore, though they often do.

The current implementation adds them not matter what. Is there a reason for this that I just missed out on? I checked on npm to see who depends on this and its just bonjour, which is the module I am trying to get this working for. So totally let me know if I just missed something :)