Forum Discussion

Robert_47833's avatar
Robert_47833
Icon for Altostratus rankAltostratus
Apr 16, 2011

Hi,can someone do me a favor on "&"

Hi,guys ,I am confused by a command now

 

 

HTTP::uri "[HTTP::uri]&bigip=0"

 

 

what is the function of "&" here?

 

 

I checked the explanation of & in wiki

 

& means Bit-wise AND and valid for integer operands

 

 

bigip=0 is a integer?

 

 

If the original HTTP:URI is /secl/format,which value is it after manipulated by this command

 

 

 

Thanks for your answer

 

  • In this case, "&" is a separator of "field=value" pairs in query_string, and not a bit-wise AND operator.

     

     

    URI may contain a query string as follows:

     

     

    /secl/format?field1=value1&field2=value2

     

     

    So, your command is adding a field "bigip" with value of "0" to HTTP::uri string.

     

  • oh

     

    thanks very much

     

     

    you mean here & just like a character ,no other special meaning

     

     

    right?
  • oh

     

    thanks very much

     

     

    you mean here & just like a character ,no other special meaning

     

     

    because it is inclided in ""

     

     

    right?