Add support for an in-memory cookie store
Review Request #7295 — Created May 8, 2015 and submitted
There is now support for an in-memory cookie store. This feature can be
enabled via the--in-memory-cookies
command-line option. For
consumers of the API, passingin_memory_cookies=True
to theRBClient
constructor will enable this behaviour as well.
Ran unit tests.
Updated this review request with the
--in-memory-cookies
flag. I was
prompted for my username and password. When updating without the flag,
I am not prompted.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+41 -17) |
-
Tool: Pyflakes Processed Files: rbtools/api/transport/sync.py rbtools/api/request.py rbtools/commands/__init__.py Tool: PEP8 Style Checker Processed Files: rbtools/api/transport/sync.py rbtools/api/request.py rbtools/commands/__init__.py
-
How about simplifying the terminology/variables a bit, and calling them "save_cookies" and "no-save-cookies"?
-
Change Summary:
Address Christian's issues.
Change to use
save_cookies
instead ofin_memory_cookies
orsave_credentials
.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 3 (+41 -17) |
-
Tool: Pyflakes Processed Files: rbtools/api/transport/sync.py rbtools/api/request.py rbtools/commands/__init__.py Tool: PEP8 Style Checker Processed Files: rbtools/api/transport/sync.py rbtools/api/request.py rbtools/commands/__init__.py
Branch: |
|
||||
---|---|---|---|---|---|
Commit: |
|
||||
Diff: |
Revision 4 (+40 -17) |