Description Usage Arguments Details Value Examples
Within prairie, getting and setting the fields of the response
header is much like assigning values to lists. One can use [
to
extract one or more fields or replace a single field.
1 2 3 4 5 | ## S3 method for class 'response'
x[field]
## S3 replacement method for class 'response'
x[field] <- value
|
x |
A response object. |
field |
An HTTP response header field name. |
For more information regarding specific HTTP response header fields refer to http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html.
A list of corresponding header field values. If the response does not contain
a certain field then NULL
is returned.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.