resp <- response(headers = "Content-type: text/html; charset=utf-8")
resp |> resp_content_type()
resp |> resp_encoding()
# No Content-Type header
resp <- response()
resp |> resp_content_type()
resp |> resp_encoding()
Run the code above in your browser using DataLab