~samwhited/xmpp

b858a106a2ba6acee9ea50fe69b83e34b0436b96 — Sam Whited 5 years ago a16d498
Add a bug comment to the BOSH/Websocket lookup
1 files changed, 4 insertions(+), 0 deletions(-)

M lookup.go
M lookup.go => lookup.go +4 -0
@@ 20,6 20,10 @@ import (
	"mellium.im/xmpp/jid"
)

// BUG(ssw): RFC6415 says that JSON may be returned by the host-meta file if we
//           set an Accepts header of "application/json"; we should try this
//           too in case they don't have a host-meta.json file.

const (
	wsPrefix     = "_xmpp-client-websocket="
	boshPrefix   = "_xmpp-client-xbosh="