Skip to content
This repository was archived by the owner on Oct 3, 2020. It is now read-only.

Commit e318425

Browse files
committed
Merge branch 'stage'
2 parents fa53db5 + 6068091 commit e318425

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<a name="1.0.76"></a>
2+
## [1.0.76](https://github.com/advanced-rest-client/socket-fetch/compare/1.0.75...v1.0.76) (2017-01-20)
3+
4+
5+
6+
17
<a name="1.0.75"></a>
28
## [1.0.75](https://github.com/advanced-rest-client/socket-fetch/compare/1.0.74...v1.0.75) (2016-11-22)
39

app.response.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ class ArcResponse {
4747
if (body === null) {
4848
body = '';
4949
}
50+
51+
if (init.statusText) {
52+
// see: https://github.com/jarrodek/ChromeRestClient/issues/419#issuecomment-271532029
53+
let encoder = new TextEncoder();
54+
let bytes = encoder.encode(init.statusText);
55+
init.statusText = String.fromCharCode.apply(null, bytes);
56+
}
5057
this._response = new Response(body, init);
5158
this.rawResponse = body;
5259
}

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "socket-fetch",
3-
"version": "1.0.75",
3+
"version": "1.0.76",
44
"license": "LICENSE.txt",
55
"description": "A HTTP transport based on chrome.socket.tcp API.",
66
"authors": [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "socket-fetch",
3-
"version": "1.0.75",
3+
"version": "1.0.76",
44
"license": "LICENSE",
55
"description": "A HTTP transport based on chrome.socket.tcp API.",
66
"repository": {

0 commit comments

Comments
 (0)