lp:~luca-vs800/ladon/ladon

Created by ellethee and last modified

Adds to JSONSPCLIENT the capability to:

- handle multiple services from same url
- setup a callback function to handle a progress bar or something else
- the function save() for the attachment to save the single attachment
- the save_all for() function the response to save all the attachments at once.

Get this branch:
bzr branch lp:~luca-vs800/ladon/ladon
Only ellethee can upload to this branch. If you are ellethee please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
ellethee
Project:
ladon
Status:
Development

Recent revisions

121. By ellethee

Added support for extra_headers.

120. By luca <email address hidden>

Ok, Silly error

119. By luca <email address hidden>

- jsonwsp.py Added the process_response parameter; a list of functions to call just before return the jsonwsp_response

def presponse(jsonwsp_response , client, service=None):
    .....
    return jsonwsp_response

client = JSONWSPClient(url=url, ... process_response=[presponse])

118. By luca <email address hidden>

- jsonwsp.py Added the process_response parameter; a list of functions to call just before return the jsonwsp_response

def presponse(jsonwsp_response , client, service=None):
    .....
    return jsonwsp_response

client = JSONWSPClient(url=url, ... process_response=[presponse])

117. By luca <email address hidden>

- Removed the *exec()* in jsonwsp.py
- Added MultiService feature in jsonwsp.py
- Added support for session id automatically passed if the SID parameter is
    present in the function description.
    It could be useful for user autentication.
- Added examples/test_multi.py (multi service example)

116. By luca <email address hidden>

Some comment

115. By luca <email address hidden>

Fixed something

114. By luca <email address hidden>

adding example.

113. By luca <email address hidden>

- Added a file-like object that supports a callback function so it's possible to show a progress bar during operations.
- Added a save function for the attachment type.
- Added a save_all function for the JSONWSPResponse object.

(uses a X_FILENAME header to guess the attachment's name)

112. By jsgaarde

Fix for type manager

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ladon
This branch contains Public information 
Everyone can see this information.

Subscribers