angular-cn/modules/@angular/http/src
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
..
backends feat(http): automatically set request Content-Type header based on body type 2016-05-24 11:42:37 -07:00
base_request_options.ts feat(http): automatically set request Content-Type header based on body type 2016-05-24 11:42:37 -07:00
base_response_options.ts repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
enums.ts feat(http): automatically set request Content-Type header based on body type 2016-05-24 11:42:37 -07:00
facade repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
headers.ts repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
http.ts feat(http): automatically set request Content-Type header based on body type 2016-05-24 11:42:37 -07:00
http_utils.ts repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
index.ts repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
interfaces.ts feat(http): automatically set request Content-Type header based on body type 2016-05-24 11:42:37 -07:00
package.json repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
static_request.ts feat(http): automatically set request Content-Type header based on body type 2016-05-24 11:42:37 -07:00
static_response.ts repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
url_search_params.ts Update url_search_params.ts 2016-05-23 14:43:26 -07:00