Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
d3d826e7
Commit
d3d826e7
authored
Apr 02, 2026
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eget: fix curl url_get_response mixing headers with binary body
parent
58e08277
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools_eget
bin/tools_eget
+1
-1
No files found.
bin/tools_eget
View file @
d3d826e7
...
...
@@ -1691,7 +1691,7 @@ url_get_response()
# HTTP/1.1 405 Method Not Allowed
# HTTP/1.1 404 Not Found
if
echo
"
$answer
"
|
grep
-
q
"^HTTP/[12.]* 40[45]"
;
then
quiet
=
1
__curl
--
max-time
20
--
retry
0
-
L
-
i
-
r0-0
"
$URL
"
2
>&
1
|
sed
-
e
's/\r$//'
-
e
's/ $//'
quiet
=
1
__curl
--
max-time
20
--
retry
0
-
L
-
D
-
-
o
/
dev/null
-
r0-0
"
$URL
"
2
>&
1
|
sed
-
e
's/\r$//'
-
e
's/ $//'
return
fi
echo
"
$answer
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment