Announcement

Collapse
No announcement yet.

HTTP Listener Redirect

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • HTTP Listener Redirect

    Hello,


    i'm using Mirth 3.5.1 and i have a HTTP Listener in the Source Connector.
    Everything works ok except one particular thing in Static Resources area.
    I put a File in the resources when a particular path is accessed, problem is with the HTML page that does not load the CSS inside a LINK tag!
    The CSS are just loaded if i insert them inside the HTML page, everything that is outside the page is not loaded! Please check the attached image.

    It that normal?


    Thank you
    Attached Files
    Best Regards,
    Alex Neiva

  • #2
    Interesting.

    I think if you are trying to send back an HTML file, then your response content type should change to text/html instead of text/plain. Try that and see.
    HL7v2.7 Certified Control Specialist!

    Comment


    • #3
      I could not attach the complete image but the Content Type is already set to text/html.
      Best Regards,
      Alex Neiva

      Comment


      • #4
        I already set the Resource Type to "Directory" instead of "File", so i put in root folder HTML page and CSS/JS scripts.

        When call it redirect the HTML page same thing happen! No CSS or JS files are loaded.
        Best Regards,
        Alex Neiva

        Comment

        Working...
        X