Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1645

Content type not set for outgoing Trackbacks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Abandoned
    • 4.0
    • None
    • Pings and Trackbacks
    • None
    • Tiny

    Description

      (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

      Attachments

        Activity

          People

            roller_unassigned Roller Unassigned
            djohnson David Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: