Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gds upgrade 7.14.0 #16

Merged
merged 16 commits into from
Mar 6, 2014
Merged

Gds upgrade 7.14.0 #16

merged 16 commits into from
Mar 6, 2014

Conversation

mnowster
Copy link

@mnowster mnowster commented Mar 5, 2014

What's important to note here, is that this is the point that the router api got added.

Still nothing that odi uses, so should still be safe.

JordanHatch and others added 16 commits March 5, 2014 13:51
At present, only Expires headers are used to set the
cache length period for a request. This modifies
the `response_cache_time` method to look for a
`Cache-control` header in the first instance, and
then fall back to the `Expires` header if it is
not present or does not contain a `max-age` or
`no-cache` directive.
Oh ActiveSupport `present?`, where art thou?
Changes in this release:

- alphagov#82: respect Cache-Control headers in the JSON client.
- alphagov#83: Add method to request all needs to Need API client
Fix NameError occuring when using extend Forwardable outside Bundler
The message of an exception is defined as a string.  This was JSON
parsing the body, and passing the hash to the exception which called
to_s on it.  The result wasn't particularly useful.

This now stores the parsed JSON data in an error_details attribute on
the exception, and puts the raw http_body in the message.
This makes it consistent with put_json, post_json, and is the expected
behaviour given the method name.
Adds support for the Router API.
Floppy added a commit that referenced this pull request Mar 6, 2014
@Floppy Floppy merged commit c874808 into master Mar 6, 2014
@Floppy Floppy deleted the gds_upgrade_7.14.0 branch March 6, 2014 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants