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
h.eftekhar.m@gmail.com
2021-12-10 22:38:59 +0330
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e732274b14fb4b533405d1e5cf100746ee3e2191
e732274b
1 parent
4c0a5ab3
add request to failed response
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
lib/get_connect/http/src/http.dart
lib/get_connect/http/src/http.dart
View file @
e732274
...
...
@@ -195,7 +195,6 @@ class GetHttpClient {
int
requestNumber
=
1
,
Map
<
String
,
String
>?
headers
,
})
async
{
try
{
var
request
=
await
handler
();
headers
?.
forEach
((
key
,
value
)
{
...
...
@@ -206,6 +205,7 @@ class GetHttpClient {
final
newRequest
=
await
_modifier
.
modifyRequest
<
T
>(
request
);
_httpClient
.
timeout
=
timeout
;
try
{
var
response
=
await
_httpClient
.
send
<
T
>(
newRequest
);
final
newResponse
=
...
...
@@ -242,7 +242,7 @@ class GetHttpClient {
throw
GetHttpException
(
err
.
toString
());
}
else
{
return
Response
<
T
>(
request:
n
ull
,
request:
n
ewRequest
,
headers:
null
,
statusCode:
null
,
body:
null
,
...
...
Please
register
or
login
to post a comment