Code
Response$new(req)
Condition
Error in `initialize()`:
! A response has already been created for this request. Access it using the response field
Code
res$remove_header("Date")
Condition
Warning:
No header named "Date"
Code
res$remove_data("test")
Condition
Warning:
No data named "test"
Code
res$remove_cookie("test")
Condition
Warning:
No cookie named "test"
Code
res$file <- "not_a_real_file"
Condition
Error in `file_path_as_absolute()`:
! file 'not_a_real_file' does not exist
Code
res$print()
Message
-- An HTTP response ------------------------------------------------------------
Status: 404 - Not Found
Content type: text/plain
> Responding to: http://127.0.0.1:80/summary?id=2347&user=Thomas+Lin+Pedersen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.