Sha256: 8b8727ca5dbbb828dc17314cf7cba0ee974d17ca6f7d339ed79083d25e86b549

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

Return the default behavior corresponding to the response code:

For 20x status codes: return the response itself

For 30x status codes:
  301, 302, 307: redirect GET / HEAD if there is a Location header
  303: redirect, changing method to GET, if there is a Location header

For all other responses, raise a response exception

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rest-man-1.1.0 _doc/lib/restman/abstract_response/return.rdoc