equal
deleted
inserted
replaced
361 } |
361 } |
362 return d; |
362 return d; |
363 } |
363 } |
364 |
364 |
365 /** |
365 /** |
366 * .. function:: loadRemote(url, form, reqtype='GET', sync=false) |
366 * .. function:: loadRemote(url, form, reqtype='POST', sync=false) |
367 * |
367 * |
368 * Asynchronously (unless `sync` argument is set to true) load a URL or path |
368 * Asynchronously (unless `sync` argument is set to true) load a URL or path |
369 * and return a deferred whose callbacks args are decoded according to the |
369 * and return a deferred whose callbacks args are decoded according to the |
370 * Content-Type response header. `form` should be additional form params |
370 * Content-Type response header. `form` should be additional form params |
371 * dictionary, `reqtype` the HTTP request type (get 'GET' or 'POST'). |
371 * dictionary, `reqtype` the HTTP request type (get 'GET' or 'POST'). |