lp:~cjwatson/lazr.restful/etag-json
Created by
Colin Watson
and last modified
- Get this branch:
- bzr branch lp:~cjwatson/lazr.restful/etag-json
Only
Colin Watson
can upload to this branch. If you are
Colin Watson
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Cristian Gonzalez (community): Approve
-
Diff: 72 lines (+20/-14)3 files modifiedNEWS.rst (+3/-0)
src/lazr/restful/_resource.py (+1/-14)
src/lazr/restful/tests/test_etag.py (+16/-0)
Related bugs
Bug #1928474: Lists of strings result in inconsistent ETags between Python 2 and 3 | Critical | Fix Released |
Related blueprints
Branch information
Recent revisions
- 300. By Colin Watson
-
Encode non-text/bytes field values for ETags using JSON.
Otherwise e.g. lists of strings were encoded as `[u'foo', u'bar']` on Python
2 but `['foo', 'bar']` on Python 3, causing ETag mismatches. - 299. By Colin Watson
-
Remove unused lazr.restful.
_resource. encode_ value. It's in a private module and not exported anywhere else.
- 298. By Colin Watson
-
Use a stable ordering for fields in entry representations.
This isn't essential for correctness, but it makes debugging easier.
- 296. By Colin Watson
-
Implement DateTimeFieldMa
rshaller. unmarshall. This is cleaner than special-casing `date` and `datetime` objects in
`ResourceJSONEncoder.default` . - 292. By Colin Watson
-
[r=cristiangsp] Preserve specified parameter ordering in export_
factory_ operation.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:lazr.restful