Skip to content

Commit

Permalink
Merge pull request #124 from scottkosty/patch-1
Browse files Browse the repository at this point in the history
Change a partial match to a full match
  • Loading branch information
hadley committed Aug 22, 2014
2 parents 1c4db3c + 7559144 commit fb81a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/response.r
Expand Up @@ -32,7 +32,7 @@ print.response <- function(x, ..., max.lines = 10, width = getOption("width")) {
content_type <- x$headers$`content-type`

cat("Response [", x$url, "]\n", sep = "")
cat(" Status: ", x$status, "\n", sep = "")
cat(" Status: ", x$status_code, "\n", sep = "")
cat(" Content-type: ", content_type %||% "<unknown>", "\n", sep = "")

size <- length(x$content)
Expand Down

0 comments on commit fb81a49

Please sign in to comment.