Cookie
This tag defines the cookie to be used for a specific HTTP
operation. You have the ability to the define the name, value
and then a few other important attributes.
Required Attributes
name
The name of the cookie being specified.
value
The value of the cookie being specified.
domain
The cookie domain and path define the scope of the cookie,
they tell the client that they should only be sent back
to the server for the given domain and path. If not
specified, they default to the domain and path of the
object that was requested.
path
The cookie domain and path define the scope of the cookie,
they tell the client that they should only be sent back
to the server for the given domain and path. If not
specified, they default to the domain and path of the
object that was requested.
Usage Examples
Example #1
<http_put uri="http://127.0.0.1:80/echo-data">
<cookie name="cookie1" path="/someplace" value="value1" />
<cookie name="cookie2" path="/anotherplace" value="value2" />
<header name="header1" value="value1" />
<entity value="SOME DATA FROM THE CLIENT" />
</http_put>