Skip to content

Commit

Permalink
ParsingXML from string with type text/xml as default one for document…
Browse files Browse the repository at this point in the history
… response type
  • Loading branch information
muthurathinam-m committed Sep 28, 2018
1 parent 8d688ad commit d4106c3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Bug Fixes

### 1.2.0
Updates

* Two output js files, one with polyfills for Fetch-API and ES6-Promises ([lib/graph-js-sdk-web.js](./lib/graph-js-sdk-web.js)) and one without ([lib/graph-js-sdk-core.js](./lib/graph-js-sdk-core.js))
[Refer [README.md](https://github.com/microsoftgraph/msgraph-sdk-javascript#browser) for usage]
* Enum for ResponseType, which lists down the available ResponseType options in autocomplete
Expand Down
2 changes: 1 addition & 1 deletion lib/graph-js-sdk-core.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/graph-js-sdk-web.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/src/GraphRequest.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/src/GraphRequest.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/GraphRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ export class GraphRequest {
responseValue = response.blob();
break;
case ResponseType.DOCUMENT:
responseValue = self.parseDocumentResponse(response, "text/html");
responseValue = self.parseDocumentResponse(response, "text/xml");
break;
case ResponseType.JSON:
responseValue = response.json();
Expand Down

0 comments on commit d4106c3

Please sign in to comment.