Comment 3 for bug 1130228

Revision history for this message
Gary Poster (gary) wrote : Re: config-debug should read ws ip addr from current url

hm. It would be nice if we could support wss with this too. Then the charm could be taught to take advantage of it.

How about this?

full url -> unchanged
wss://:port/path -> wss://[HOSTNAME]:port/path
ws://:port/path -> ws://[HOSTNAME]:port/path

Maybe also

ws:///path -> ws://[HOSTNAME]:[CURRENT PORT]/path
wss:///path -> wss://[HOSTNAME]:[CURRENT PORT]/path

shrug. That would be slightly convenient for the charm.

I don't want to bikeshed. If you have a better idea I'll want to approve it. :-)