roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "koji lin (JIRA)" <nore...@atlassian.com>
Subject [Roller-JIRA] Commented: (ROL-1645) Content type not set for outgoing Trackbacks
Date Sat, 05 Jan 2008 02:44:45 GMT

    [ http://opensource.atlassian.com/projects/roller/browse/ROL-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_14231
] 

koji lin commented on ROL-1645:
-------------------------------

looks like the receiver must do the samething, somesite send trackback in the body not in
the QueryString. 
ignore above line..sorry, i test it on my roller, and looks we dont need to change receiver

koji

> Content type not set for outgoing Trackbacks
> --------------------------------------------
>
>                 Key: ROL-1645
>                 URL: http://opensource.atlassian.com/projects/roller/browse/ROL-1645
>             Project: Roller
>          Issue Type: Bug
>          Components: Referers and Trackbacks
>    Affects Versions: 4.0
>            Reporter: David Johnson
>            Assignee: Roller Unassigned
>            Priority: Minor
>
> (from Koji Lin)
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message