The HttpResponse is a subclass of JSHttpMessage, and inherits all the properties and methods of its base class. In addition, the HttpResponse has the following properties:
An array of JSResCookie objects. The array may be referenced by name (returns the value of the first cookie with that name), or by index (returns a JSResCookie object). A new cookie can be created by assigning a string to a nonexistent name. This property may also be read or written as a string, in which case it returns the contents of the Set-Cookie headers. |
|