Resolving names isn't ASCII-case-insensitive
Service names are DNS labels, which are defined by the DNS RFCs to be case-insensitive within the ASCII range: A == a (although not outside that range: Á != á), but python-zeroconf doesn't fully implement this. (There are a few lower() calls, but not enough to make everything work.)
Steps to reproduce:
avahi-publish-service -s 'MY SERVICE NAME' _test._tcp 0- Run the new
./examples/resolver.pyfrom examples: Add an example of resolving a known service by service name #127
Expected result:
- The resolver finds
MY SERVICE NAME, treating it as a valid answer to the question "where isMy Service Name?", and prints itsServiceInfo
Actual result:
- The resolver waits for a reply and then prints
None