Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Julia Docker Client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FACT
FACT Utils
Julia Docker Client
Commits
9de83d8e
Commit
9de83d8e
authored
1 year ago
by
Riccardo Boero
Browse files
Options
Downloads
Patches
Plain Diff
Readded debugging print for post calls
parent
98f0a8b8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Utils.jl
+1
-1
1 addition, 1 deletion
src/Utils.jl
with
1 addition
and
1 deletion
src/Utils.jl
+
1
−
1
View file @
9de83d8e
...
@@ -73,7 +73,7 @@ function unix_socket_post(http_request::String, post_data::String, auth_token::S
...
@@ -73,7 +73,7 @@ function unix_socket_post(http_request::String, post_data::String, auth_token::S
auth_header = isempty(auth_token) ? "" : "
X
-
Registry
-
Auth
:
$
auth_token
\
r
\
n
"
auth_header = isempty(auth_token) ? "" : "
X
-
Registry
-
Auth
:
$
auth_token
\
r
\
n
"
long_http_request = "
POST
/$
DOCKER_API_MAIN_ENTRYPOINT
/$
http_request
HTTP
/
1.1
\
r
\
nHost
:
$
DOCKER_API_HOST
\
r
\
n
$
auth_header
Content
-
Type
:
$
content_type
\
r
\
nContent
-
Length
:
$
post_data_length
\
r
\
n
\
r
\
n
$
post_data
"
long_http_request = "
POST
/$
DOCKER_API_MAIN_ENTRYPOINT
/$
http_request
HTTP
/
1.1
\
r
\
nHost
:
$
DOCKER_API_HOST
\
r
\
n
$
auth_header
Content
-
Type
:
$
content_type
\
r
\
nContent
-
Length
:
$
post_data_length
\
r
\
n
\
r
\
n
$
post_data
"
#
println("
Long
request
:
$
long_http_request
")
println("
Long
request
:
$
long_http_request
")
response = "" # Initialize response
response = "" # Initialize response
try
try
write(sock, long_http_request)
write(sock, long_http_request)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment