feat(http): add content-type override support for http request (#10211)

This commit is contained in:
Josh Gerdes
2016-07-22 10:37:32 -05:00
committed by Victor Berchet
parent d455942389
commit bdb59129d0
3 changed files with 105 additions and 2 deletions

View File

@ -125,6 +125,7 @@ export declare class Request extends Body {
withCredentials: boolean;
constructor(requestOptions: RequestArgs);
detectContentType(): ContentType;
detectContentTypeFromBody(): ContentType;
getBody(): any;
}