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