Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jonny Borges
2023-11-02 03:38:49 -0300
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2023-11-02 03:38:49 -0300
Commit
5961a64a67c88d3a84c6e88d13d83cea3021d522
5961a64a
2 parents
a5a08fc5
619dd6f5
Merge pull request #2815 from wheeOs/patch-3
Update http_request_html.dart
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
lib/get_connect/http/src/http/html/http_request_html.dart
lib/get_connect/http/src/http/html/http_request_html.dart
View file @
5961a64
...
...
@@ -53,6 +53,19 @@ class HttpRequestImpl implements IClient {
reader
.
onLoad
.
first
.
then
((
_
)
async
{
var
bodyBytes
=
(
reader
.
result
as
List
<
int
>).
toStream
();
if
(
request
.
responseInterceptor
!=
null
)
throw
'response interception not implemented for web yet!'
;
/*
TODO to be implemented like in http_request_io.dart
final interceptionResponse = await request.responseInterceptor?.call(request, T, reponse);
if (interceptionResponse != null) {
completer.complete(interceptionResponse);
return;
}
*/
final
stringBody
=
await
bodyBytesToString
(
bodyBytes
,
xhr
.
responseHeaders
);
...
...
Please
register
or
login
to post a comment