$ curl --head http://swift-mazes.com/fms/antr.pk4
Weird. I wonder what curl is doing different than the Java code I use.
swiftmazes is the only server which won't report the Content Length for a mission when doing
URLConnection tmpConnection = new URL(url).openConnection(); tmpConnection.getContentLength();
That's why that tool needs to ignore swiftmaze with respect to the checking file sizes... unless I figure out what I am missing.
All I get is the following, and digging deeper into possible options and alternatives to modify the behaviour of the URLConnection did not reveal any insights so far either.
Transfer-Encoding=[chunked], Keep-Alive=[timeout=5, max=100], null=[HTTP/1.1 200 OK], Server=[Apache/2.2.29], Connection=[Keep-Alive], Date=[Tue, 28 Apr 2015 20:39:33 GMT], Content-Type=[text/html]}
The official internal name for "Thief's Den" is now 'thiefsden', as should be the name of the pk4.
Edited by gnartsch, 28 April 2015 - 03:52 PM.