Skip to content

Common Issues

Peter Brightwell edited this page Aug 17, 2018 · 3 revisions

The following issues have been noted at workshop events and are recorded here in the hope that they will save some time in debugging.

DNS-SD

  • Multicast DNS response messages consist of a PTR, SRV and TXT record. In some implementations these may arrive in one packet. In others they may arrive in separate packets. mDNS browsers should be able to handle all of these cases.

HTTP APIs

  • An 'Access-Control-Allow-Origin' header must be returned with every single response to any API request. This includes basic requests such as GET and HEAD.
  • A full set of CORS headers must be returned with responses to OPTIONS requests, and with responses to HTTP methods which may modify the resource (such as POST, PUT, PATCH, DELETE etc).