This repository was archived by the owner on Oct 3, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +15
-2
lines changed
Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change 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" : [
Original file line number Diff line number Diff line change 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" : {
You can’t perform that action at this time.
0 commit comments