Forum Discussion

Mike_Sullivan_2's avatar
Mike_Sullivan_2
Icon for Nimbostratus rankNimbostratus
Dec 10, 2014
Solved

iRule using TCP::collect and TCP::payload to fix blanks (spaces) in HTTP request

Hi I have a request to help fix mal-formed links. After some research, it looks like an irule around the CLIENT_ACCEPTED and CLIENT_DATA events utilizing the TCP commands is the way to fix it. I...
  • nitass_89166's avatar
    Dec 11, 2014

    it seems \r\n\r\n is removed when using concat.

    can you try this? it looks okay here.

    TCP::payload replace 0 0 "[concat $mynewreq $mybal]\r\n\r\n"