From 31159653bb9e6476d62267c23b23b1b6b2bb9dc6 Mon Sep 17 00:00:00 2001 From: john Date: Tue, 30 Nov 2021 18:38:41 -0800 Subject: [PATCH] add "content-type" to connheaders() --- src/Neo4j.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Neo4j.jl b/src/Neo4j.jl index c6624da..f4bb082 100644 --- a/src/Neo4j.jl +++ b/src/Neo4j.jl @@ -62,6 +62,7 @@ end function connheaders(c::Connection) headers = Dict( "Accept" => "application/json; charset=UTF-8", + "content-type" => "application/json", "Host" => "$(c.host):$(c.port)") if c.user != "" && c.password != "" payload = "$(c.user):$(c.password)" |> base64encode