Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-273

Content-Type http header of the returned http request for http://localhost/axis is text/xml For Apache 1.3.x

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.3 Final
    • 1.4 Alpha
    • Transport (Server)
    • None
    • NA

    Description

      In Apache 2 module ...

      req_rec->content_type = (M_POST == req_rec->method_number) ?
      "text/xml" : "text/html";

      In Apache 1.3 module ...

      req_rec->content_type = "text/xml";

      so Apache 2 should work correctly and since Chris is working with
      1.3.22 he
      will get "text/xml". I checked and this is so with 1.3. I think we
      simply
      need to replace the line of 1.3 with 2.

      sanjaya.

      ----- Original Message -----
      From: "Samisa Abeysinghe" <samisa_abeysinghe@yahoo.com>
      To: "Apache AXIS C User List" <axis-c-user@ws.apache.org>
      Sent: Thursday, November 18, 2004 11:24 AM
      Subject: Re: 1.3 welcome (/axis) page parse error with expat 1.95.8

      > Well; on Linux Apache 2.0 sends Content-Type: text/html;
      > This cannot be different on Windows.
      >
      > Apparently there are couple of bugs that need to be fixed in the
      HTML
      sent by Axis engine.
      > (Better create a Jira issue on this)
      >
      > Thanks,
      > Samisa...
      >
      > — sanjaya singharage <sanjayas@opensource.lk> wrote:
      >
      > > probably the Content-Type http header of the returned http request
      for
      /axis
      > > has it set to text/xml. That could be why the browser is trying to
      parse
      it
      > > as xml and not html .
      > >
      > > sanjaya.

      Attachments

        Activity

          People

            sanjaya Sanjaya Gayan Prasanna Singharage
            samisa Don Samisa Abeysinghe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: