Forum Discussion

Dineshsankar_31's avatar
Dineshsankar_31
Icon for Altostratus rankAltostratus
Jun 26, 2017

Health monitor difference

What is the difference between below two strings and where we can use this?

 

  1. Send string : GET /aaaa/bbb HTTP/1.1\r\nHost: xxx.yyyy.com\r\nConnection: Close\r\n\r\n (it will check only VIP or Each pool member) (Why we are putting host name here)

     

  2. Send string : GET /aaaa/bbb HTTP/1.0\r\nConnection: Close\r\n\r\n

     

1 Reply

  • Hi,

     

    there are some differences between HTTP 1.1 and HTTP 1.0. Link is here. One of them is that HTTP 1.1 needs a hostname, on the other hand HTTP 1.0 does not.

     

    In your case If you have only one domain(xxx.yyy.com), and the webserver answers to whomever is connected to the webserver IP without a hostname, this means that there is no difference.

     

    If you have more than one domain or Virtual host on your webserver or your webserver does not answer to whomever is connected to the webserver IP without a hostname, this means that you have to use HTTP 1.1. that is it.