Switch to OPTIONS for testing whether the port is open.
commit3c01b7a3ff2b9e2ce6fce8ea0b81849126ec5f27
authorAndrew McMillan <andrew@morphoss.com>
Fri, 1 Feb 2013 18:03:25 +0000 (1 10:03 -0800)
committerAndrew McMillan <andrew@morphoss.com>
Fri, 1 Feb 2013 18:03:25 +0000 (1 10:03 -0800)
tree7bb0c60d56641fcb53982e904f100d4b1dea99f0
parent1724e80696954ad425485d236f466d03f672161c
Switch to OPTIONS for testing whether the port is open.

Some servers will redirect on GET/HEAD, which sends us off on a wild
goose chase.  They won't do that for OPTIONS, and we're only interested
in knowing whether they're listening on that port at this point.
src/com/morphoss/acal/activity/serverconfig/TestPort.java