angular-cn/modules/@angular/platform-browser/testing
Thierry Templier 0f0a8ade7c feat(http): automatically set request Content-Type header based on body type
Implement the ability to provide objects as request body. The following use cases
are supported:
* raw objects: a JSON payload is created and the content type set to `application/json`
* text: the text is used as it is and no content type header is automatically added
* URLSearchParams: a form payload is created and the content type set to `application/x-www-form-urlencoded`
* FormData: the object is used as it is and no content type header is automatically added
* Blob: the object is used as it is and the content type set with the value of its `type` property if any
* ArrayBuffer: the object is used as it is and no content type header is automatically added

Closes https://github.com/angular/http/issues/69

Closes #7310
2016-05-24 11:42:37 -07:00
..
animation_builder_mock.ts chore: clang-reformat 2016-05-01 22:59:41 -07:00
benchmark_util.ts fix(browser): platform code cleanup 2016-05-23 17:57:28 -07:00
browser.ts fix(browser): platform code cleanup 2016-05-23 17:57:28 -07:00
browser_static.ts fix(browser): platform code cleanup 2016-05-23 17:57:28 -07:00
browser_util.ts feat(http): automatically set request Content-Type header based on body type 2016-05-24 11:42:37 -07:00
dom_test_component_renderer.ts refactor(browser): merge static & dynamic platforms 2016-05-20 10:48:55 -07:00
e2e_util.ts repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
matchers.ts repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
perf_util.ts refactor(chore): Replace all 'bindings' with 'providers' 2016-05-23 13:31:08 -07:00