Mercurial > p > roundup > code
comparison doc/xmlrpc.txt @ 5298:6efa6d44c27a
Add doc for xmlrpc changes and errors related to anti-csrf protections.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 04 Oct 2017 22:31:44 -0400 |
| parents | 198b6e810c67 |
| children | d0689aaa83db |
comparison
equal
deleted
inserted
replaced
| 5296:b48e2fe4a7bd | 5298:6efa6d44c27a |
|---|---|
| 137 >>> roundup_server.filter('user',[],{'username':'adm'}) | 137 >>> roundup_server.filter('user',[],{'username':'adm'}) |
| 138 [] | 138 [] |
| 139 >>> roundup_server.lookup('user','admin') | 139 >>> roundup_server.lookup('user','admin') |
| 140 '1' | 140 '1' |
| 141 | 141 |
| 142 advanced python client adding anti-csrf headers | |
| 143 =============================================== | |
| 144 | |
| 142 The one below adds Referer and X-Requested-With headers so it can pass | 145 The one below adds Referer and X-Requested-With headers so it can pass |
| 143 stronger CSRF detection methods. It also generates a fault message | 146 stronger CSRF detection methods. It also generates a fault message |
| 144 from the server and reports it. Note if you are using http rather than | 147 from the server and reports it. Note if you are using http rather than |
| 145 https, replace xmlrpclib.SafeTransport with xmlrpclib.Transport:: | 148 https, replace xmlrpclib.SafeTransport with xmlrpclib.Transport:: |
| 146 | 149 |
