Support http and https calls in the same API
Bug #704885 reported by
Anthony Lenton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
piston-mini-client |
Fix Released
|
Undecided
|
Anthony Lenton |
Bug Description
An API can have some public calls that are made via http, while other authenticated calls might need to be made over https. Some APIs can be more relaxed and allow calls to be made over either.
Piston-mini-client should support this, allowing the user to provide a single service root, but then converting urls to http or https when they *need* to use a certain scheme.
Related branches
lp:~elachuni/piston-mini-client/dual-scheme-support
- Danny Tamez (community): Approve
- software-store-developers: Pending requested
-
Diff: 424 lines (+178/-23)8 files modifieddoc/conf.py (+2/-0)
doc/index.rst (+1/-0)
doc/quickstart.rst (+35/-0)
doc/reference.rst (+33/-0)
piston_mini_client/__init__.py (+33/-12)
piston_mini_client/failhandlers.py (+24/-1)
piston_mini_client/serializers.py (+6/-0)
piston_mini_client/test/test_resource.py (+44/-10)
Changed in piston-mini-client: | |
status: | New → Confirmed |
Changed in piston-mini-client: | |
assignee: | nobody → Anthony Lenton (elachuni) |
tags: | added: kb-task |
Changed in piston-mini-client: | |
status: | Confirmed → In Progress |
tags: | added: qa-untestable |
Changed in piston-mini-client: | |
status: | In Progress → Fix Released |
To post a comment you must log in.