equal
deleted
inserted
replaced
198 } |
198 } |
199 if (query == null) { |
199 if (query == null) { |
200 query = ""; |
200 query = ""; |
201 } |
201 } |
202 if (query.equals("")) { |
202 if (query.equals("")) { |
203 return path; |
203 return Utils.encode(path); |
204 } else { |
204 } else { |
205 return path + "?" + query; |
205 return Utils.encode(path + "?" + query); |
206 } |
206 } |
207 } |
207 } |
208 |
208 |
209 private String authorityString(InetSocketAddress addr) { |
209 private String authorityString(InetSocketAddress addr) { |
210 return addr.getHostString() + ":" + addr.getPort(); |
210 return addr.getHostString() + ":" + addr.getPort(); |