git request

dev_course
jingquan huang 6 years ago
parent 6ce1a46d33
commit 5bf0be607a

@ -4,6 +4,7 @@ class GitsController < ApplicationController
def auth
# HTTP_AUTHORIZATION: "Basic 这里base64编码的的密码(user:passwd)"
logger.info("11111112222223333#{request.env["HTTP_AUTHORIZATION"]}")
logger.info("11111112222223333: request is #{request}")
#logger.info("#########-----request_env: #{request.env}")
# {"service"=>"git-receive-pack", "controller"=>"gits", "action"=>"auth",
# "url"=>"forge01/cermyt39.git/info/refs"}

Loading…
Cancel
Save