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