Skip to content

v1.1.0: Add support for cookies

Latest
Compare
Choose a tag to compare
@andrewpillar andrewpillar released this 14 Jun 14:56
· 3 commits to main since this release

This release of req now supports working with cookies via the cookie command for creating cookies, and via the 'Cookie' field on the response object that is returned from sending a request.

Also included with this release is the new tuple value that can allow for working with response headers that may contain multiple values. The tuple value will allow you to use a response header value as either a single string, or an array of strings.

More information about both of these features can be found in the documentation.