Skip to content

Commit d4106c3

Browse files
ParsingXML from string with type text/xml as default one for document response type
1 parent 8d688ad commit d4106c3

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Bug Fixes
1313

1414
### 1.2.0
1515
Updates
16+
1617
* 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))
1718
[Refer [README.md](https://github.com/microsoftgraph/msgraph-sdk-javascript#browser) for usage]
1819
* Enum for ResponseType, which lists down the available ResponseType options in autocomplete

lib/graph-js-sdk-core.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/graph-js-sdk-web.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/GraphRequest.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/GraphRequest.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/GraphRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ export class GraphRequest {
478478
responseValue = response.blob();
479479
break;
480480
case ResponseType.DOCUMENT:
481-
responseValue = self.parseDocumentResponse(response, "text/html");
481+
responseValue = self.parseDocumentResponse(response, "text/xml");
482482
break;
483483
case ResponseType.JSON:
484484
responseValue = response.json();

0 commit comments

Comments
 (0)