toString fixes

pull/1/head
Michael Peter Christen 10 years ago
parent 961f06c0b6
commit b31db00010

@ -239,10 +239,10 @@ public class WorkTables extends Tables {
try { try {
// use 4 param MultiProtocolURL to allow api_row_url with searchpart (like url?p=a&p2=b ) in client.GETbytes() // use 4 param MultiProtocolURL to allow api_row_url with searchpart (like url?p=a&p2=b ) in client.GETbytes()
MultiProtocolURL url = new MultiProtocolURL("http", host, port, theapicall); MultiProtocolURL url = new MultiProtocolURL("http", host, port, theapicall);
ConcurrentLog.info("WorkTables", "executing url: " + url.toString()); ConcurrentLog.info("WorkTables", "executing url: " + url.toNormalform(true));
try { try {
client.GETbytes(url, username, pass, false); // use GETbytes(MultiProtocolURL,..) form to allow url in parameter (&url=path% client.GETbytes(url, username, pass, false); // use GETbytes(MultiProtocolURL,..) form to allow url in parameter (&url=path%
l.put(url.toString(), client.getStatusCode()); l.put(url.toNormalform(true), client.getStatusCode());
} catch (final IOException e) { } catch (final IOException e) {
ConcurrentLog.logException(e); ConcurrentLog.logException(e);
l.put(url.toString(), -1); l.put(url.toString(), -1);

Loading…
Cancel
Save