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
Katekko
2021-03-04 15:09:29 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1f6bd8be9ee5009a0e1cb87ec5e9dfc185b0241b
1f6bd8be
1 parent
f1803211
Fix content length equals null, need to be zero instead
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
lib/get_connect/http/src/http.dart
lib/get_connect/http/src/http.dart
View file @
1f6bd8b
...
...
@@ -139,7 +139,7 @@ class GetHttpClient {
url:
uri
,
headers:
headers
,
bodyBytes:
bodyStream
,
contentLength:
bodyBytes
.
length
,
contentLength:
bodyBytes
?.
length
??
0
,
followRedirects:
followRedirects
,
maxRedirects:
maxRedirects
,
decoder:
decoder
,
...
...
@@ -251,6 +251,7 @@ class GetHttpClient {
url:
uri
,
headers:
headers
,
decoder:
decoder
??
(
defaultDecoder
as
Decoder
<
T
>),
contentLength:
0
,
));
}
...
...
Please
register
or
login
to post a comment