angular-cn/modules/angular2/test/http
Caitlin Potter 77d3668432 feat(http): serialize search parameters from request options
- Extends URLSearchParams API to include operations for combining
  different URLSearchParams objects:

  These new methods include:
  setAll(otherParams): performs `this.set(key, values[0])` for each
      key/value-list pair in `otherParams`

  appendAll(otherParams): performs `this.append(key, values)` for
      each key/value-list pair in `otherParams`

  replaceAll(otherParams): for each key/value-list pair in
      `otherParams`, replaces current set of values for `key` with
      a copy of the list of values.

- RequestOptions do not merge search params automatically (because
  there are multiple ways to do this). Instead, they replace any
  existing `search` field if `search` is provided. Explicit merging
  is required if merging is desirable.

- Some extra test coverage added.

Closes #2417
Closes #3020
2015-08-10 16:29:36 -07:00
..
backends test(XHRConnection): normalize responseText and response 2015-08-04 00:39:11 +00:00
base_request_options_spec.ts refactor(http): remove default settings from `RequestOptions` constructor 2015-06-30 15:21:36 -07:00
headers_spec.ts feat(http): refactor library to work in dart 2015-06-30 15:21:36 -07:00
http_spec.ts feat(http): serialize search parameters from request options 2015-08-10 16:29:36 -07:00
url_search_params_spec.ts feat(http): serialize search parameters from request options 2015-08-10 16:29:36 -07:00