On Jan 3, 2008 11:37 PM, koji Lin <[EMAIL PROTECTED]> wrote:
> i found that my roller cant send trackback to lots site,
> i think the http post code in trackback.java shoud change to this
>
> original
>         HttpMethod method = new PostMethod(trackbackURL);
>         method.setQueryString(queryString);
>
> new one
>         PostMethod method = new PostMethod(trackbackURL);
>         method.setRequestHeader("Content-Type",
> "application/x-www-form-urlencoded; charset=utf-8");
>         method.setRequestBody(queryString);
>
> the spec says we need content-Type
> and QueryString will occur an error when i post to other sites.
> so i change it to setRequestBody, and it works well now

That looks like a good fix.I added it as a JIRA issue:
http://opensource.atlassian.com/projects/roller/browse/ROL-1645

Thanks!

- Dave

Reply via email to