From d3941037e4475b96ba3621fc402968dc6915bcd2 Mon Sep 17 00:00:00 2001 From: hadley Date: Tue, 15 Aug 2017 08:16:17 -0500 Subject: [PATCH] Prepare for release --- DESCRIPTION | 2 +- NEWS.md | 2 +- README.md | 2 +- cran-comments.md | 4 +--- man/RETRY.Rd | 2 ++ 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 65652774..b80793ae 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: httr -Version: 1.2.1.9000 +Version: 1.3.0 Title: Tools for Working with URLs and HTTP Description: Useful tools for working with HTTP organised by HTTP verbs (GET(), POST(), etc). Configuration functions make it easy to control diff --git a/NEWS.md b/NEWS.md index 28d86083..6803e84b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# httr 1.2.1.9000 +# httr 1.3.0 ## API changes diff --git a/README.md b/README.md index aa88131a..4d64c17d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Build Status](https://travis-ci.org/r-lib/httr.svg?branch=master)](https://travis-ci.org/r-lib/httr) [![Coverage Status](https://img.shields.io/codecov/c/github/r-lib/httr/master.svg)](https://codecov.io/github/r-lib/httr?branch=master) -[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/httr)](http://cran.r-project.org/package=httr) +[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/httr)](https://cran.r-project.org/package=httr) The aim of httr is to provide a wrapper for the [curl](https://cran.r-project.org/package=curl) package, customised to the demands of modern web APIs. diff --git a/cran-comments.md b/cran-comments.md index cd5b688a..a00bc99c 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -4,9 +4,7 @@ * win-builder (devel and release) ## R CMD check results -0 errors | 0 warnings | 1 notes - -* httr uses the MIT license + license file template. +0 errors | 0 warnings | 0 notes ## Revdepcheck results diff --git a/man/RETRY.Rd b/man/RETRY.Rd index 1626e578..3f3aaab0 100644 --- a/man/RETRY.Rd +++ b/man/RETRY.Rd @@ -92,6 +92,8 @@ It is designed to be kind to the server: after each failure randomly waits up to twice as long. (Technically it uses exponential backoff with jitter, using the approach outlined in \url{https://www.awsarchitectureblog.com/2015/03/backoff.html}.) +If the server returns status code 429 and specifies a \code{retry-after} value, that +value will be used instead, unless it's smaller than \code{pause_min}. } \examples{ # Succeeds straight away