Hello,
I've tested the trace method of HttpClient using the code below.
Unfortunately I never get "Via"-fields in the header, declared in
rfc2616.
Can somebody explain this behaviour?
Much thanks in advance!
Reidar
Code:
HttpClient hc = new HttpClient();
TraceMethod m = new TraceMethod("http://jakarta.apache.org");
hc.executeMethod(m);
Header[] h = m.getResponseHeaders();
for (int i = 0; i < h.length; i++) {
System.out.println(h[i].getName());
}
...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]