Sha256: d672c5e69cdf0cc92eea022a8ffeffe095fe177cfc9ddec9ce998a4b0253ee3d
Contents?: true
Size: 500 Bytes
Versions: 1
Compression:
Stored size: 500 Bytes
Contents
module RestMan STATUSES_COMPATIBILITY = { # The RFCs all specify "Not Found", but "Resource Not Found" was used in # earlier RestMan releases. 404 => ['ResourceNotFound'], # HTTP 413 was renamed to "Payload Too Large" in RFC7231. 413 => ['RequestEntityTooLarge'], # HTTP 414 was renamed to "URI Too Long" in RFC7231. 414 => ['RequestURITooLong'], # HTTP 416 was renamed to "Range Not Satisfiable" in RFC7233. 416 => ['RequestedRangeNotSatisfiable'], } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rest-man-1.1.0 | lib/restman/statuses_compatibility.rb |