DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22424.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22424.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
Wolfgang Hoschek - DSD Staff wrote:
- disabling stale connections with
connectionMgr.setConnectionStaleCheckingEnabled(false)
improves performance by a factor of 50 (note: factor, not percent).
This is because stale connection checking adds a constant penalty time,
which for very quick
Anu,
you should use authpost.addParameters(new NameValuePair[] {action, url})
and not setRequestBody.
HTH
Odi
NameValuePair action = new NameValuePair(url, Books);
NameValuePair url = new NameValuePair(field-keywords, java);
authpost.setRequestBody(new NameValuePair[] {action,
Odi,
Either should work. The only difference is one adds and one overwrites.
Mike
On Friday, August 15, 2003, at 03:13 AM, Ortwin Glück wrote:
Anu,
you should use authpost.addParameters(new NameValuePair[] {action,
url})
and not setRequestBody.
HTH
Odi
NameValuePair action = new
Anu,
The problem seems to be the lack of the content type header when
setting the request body manually. This value is set when using the
NameValuePairs since the method knows how the value are encoded.
Either use setRequestBody(NameValuePair[]) or add the following line
when setting the
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22073.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.