(options, next)
| 407 | } |
| 408 | |
| 409 | function root (options, next) { |
| 410 | |
| 411 | var url = next(options); |
| 412 | |
| 413 | if (isString(options.root) && !url.match(/^(https?:)?\//)) { |
| 414 | url = options.root + '/' + url; |
| 415 | } |
| 416 | |
| 417 | return url; |
| 418 | } |
| 419 | |
| 420 | function query (options, next) { |
| 421 |