Skip to content
Snippets Groups Projects
Commit 9de83d8e authored by Riccardo Boero's avatar Riccardo Boero :innocent:
Browse files

Readded debugging print for post calls

parent 98f0a8b8
No related branches found
No related tags found
No related merge requests found
...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment