Merge lp:~james-w/lazr.restfulclient/fix-caching into lp:lazr.restfulclient
Proposed by
James Westby
Status: | Merged |
---|---|
Approved by: | Robert Collins |
Approved revision: | 85 |
Merged at revision: | 121 |
Proposed branch: | lp:~james-w/lazr.restfulclient/fix-caching |
Merge into: | lp:lazr.restfulclient |
Diff against target: |
20 lines (+8/-1) 1 file modified
src/lazr/restfulclient/resource.py (+8/-1) |
To merge this branch: | bzr merge lp:~james-w/lazr.restfulclient/fix-caching |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | code | Approve | |
Review via email: mp+15635@code.launchpad.net |
Commit message
Use the same HTTP methods httplib2 does.
To post a comment you must log in.
Investigating why I was seeing lots of repeated requests I looked in to
the caching. This showed that lplib was requesting "get" methods, and
because this wasn't literally "GET" httplib2 wasn't caching the responses.
I don't think this has ever worked, but only affected calling a NamedOperation,
so the cache isn't totally useless.
Thanks,
James