equal
deleted
inserted
replaced
369 } |
369 } |
370 |
370 |
371 /** |
371 /** |
372 * .. function:: loadRemote(url, form, reqtype='GET', sync=false) |
372 * .. function:: loadRemote(url, form, reqtype='GET', sync=false) |
373 * |
373 * |
374 * Asynchronously (unless `async` argument is set to false) load an url or path |
374 * Asynchronously (unless `sync` argument is set to true) load an url or path |
375 * and return a deferred whose callbacks args are decoded according to the |
375 * and return a deferred whose callbacks args are decoded according to the |
376 * Content-Type response header. `form` should be additional form params |
376 * Content-Type response header. `form` should be additional form params |
377 * dictionary, `reqtype` the HTTP request type (get 'GET' or 'POST'). |
377 * dictionary, `reqtype` the HTTP request type (get 'GET' or 'POST'). |
378 */ |
378 */ |
379 function loadRemote(url, form, reqtype, sync) { |
379 function loadRemote(url, form, reqtype, sync) { |