I am trying to configure git using a login servlet, so want to know what all http methods are used in smart http
What are the http methods used in GIT smart http
701 views Asked by user2164525 At
1
I am trying to configure git using a login servlet, so want to know what all http methods are used in smart http
I believe only GET and POST requests are made. According to a blog post on Git's website concerning smart HTTP transport, it seems like that.
EDIT: Checked current Git's source code in master branch (3d092bfc) and discovered that http-backend.c accepts HEAD requests too. After detecting a HEAD request it immediately starts treating it as a GET. According to
services[]
andmain()
in the same source file, only GET and POST requests are handled otherwise.