I have created a GIT Bare Repository in the Linux server.
And while I try to clone the repository using Nodegit from the local workstation, I'm getting the following error.,
err { Error: received unexpected content-type errno: -1 }.
Following is the apache access log,
/gitrepos/repository/info/refs?service=git-upload-pack HTTP/1.1" 200 59 "-" "git/1.0 (libgit2 0.25.0)"
This is returning "refs" as text.
Any help is much appreciated.
Thanks in advance.
答案 0 :(得分:0)
感谢您的回复。
我能够自己解决这个问题。
这是Apache配置的一个问题,它没有处理请求。在智能HTTP协议配置之后,一切都可以作为魅力。
谢谢,
Ramesh Gurusamy,