angular-cn/modules/@angular/platform-browser
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
..
src fix(browser): platform code cleanup 2016-05-23 17:57:28 -07:00
test fix(browser): platform code cleanup 2016-05-23 17:57:28 -07:00
testing feat(http): automatically set request Content-Type header based on body type 2016-05-24 11:42:37 -07:00
core_private.ts feat: security implementation in Angular 2. 2016-05-03 09:21:43 -07:00
index.ts fix(browser): platform code cleanup 2016-05-23 17:57:28 -07:00
package.json adds 'repository' metadata to npm modules (#8649) 2016-05-17 23:17:15 -07:00
private_export.ts fix(browser): platform code cleanup 2016-05-23 17:57:28 -07:00
rollup.config.js build: fix source map paths for npm packages 2016-05-03 13:36:33 -06:00
testing.ts refactor(browser): merge static & dynamic platforms 2016-05-20 10:48:55 -07:00
testing_e2e.ts repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
tsconfig-es5.json build: turn on tsc's stripInternal when producint public d.ts file 2016-05-20 10:59:57 -07:00
tsconfig-es2015.json build: turn on tsc's stripInternal when producint public d.ts file 2016-05-20 10:59:57 -07:00