{"thread":{"id":"59735","subject":"git has no Authorization in the http header","startedAt":"2023-05-10T06:31:43Z","lastAt":"2023-05-10T06:31:43Z","messageCount":1,"participants":["zhang lee"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"477177","messageId":"CAPQzXO3X1G1VKDXyN=maRo5qZcFhAjqQJoKb6HTJZBrbr26X4w@mail.gmail.com","threadId":"59735","inReplyTo":null,"subject":"git has no Authorization in the http header","fromName":"zhang lee","fromEmail":"lizhangovo@gmail.com","sentAt":"2023-05-10T06:31:28Z","receivedAt":"2023-05-10T06:31:43Z","isPatch":false,"sender":{"key":"lizhangovo@gmail.com","avatar":null},"body":"Hi team,\n\nWhen I cloned the code via git http, the url included username and\npassword, but the debug mode request header did not include\nAuthorization. As a result, I could not obtain the Basic Authorization\nin spring cloud gateway,\n\nas shown in the attachment.\n\nIs there any configuration missing,\n\nAny suggestions please reply, thank you very much.\n\n\ngit debug message:\n\nGIT_CURL_VERBOSE=1 git clone\nhttp://awp-git:kcNkdmW13AvFJoK7@10.109.37.87:8086/awp-git/action_2\nCloning into 'action_2'...\n17:56:44.772293 http.c:781              == Info:   Trying 10.109.37.87:8086...\n17:56:44.774521 http.c:781              == Info: Connected to\n10.109.37.87 (10.109.37.87) port 8086 (#0)\n17:56:44.774521 http.c:728              => Send header, 0000000225\nbytes (0x000000e1)\n17:56:44.774521 http.c:740              => Send header: GET\n/awp-git/action_2/info/refs?service=git-upload-pack HTTP/1.1\n17:56:44.774521 http.c:740              => Send header: Host: 10.109.37.87:8086\n17:56:44.774521 http.c:740              => Send header: User-Agent:\ngit/2.33.1.windows.1\n17:56:44.774521 http.c:740              => Send header: Accept: */*\n17:56:44.774521 http.c:740              => Send header:\nAccept-Encoding: deflate, gzip, br, zstd\n17:56:44.774521 http.c:740              => Send header: Pragma: no-cache\n17:56:44.774521 http.c:740              => Send header: Git-Protocol: version=2\n17:56:44.774521 http.c:740              => Send header:\n17:57:10.644479 http.c:781              == Info: Mark bundle as not\nsupporting multiuse\n17:57:10.644479 http.c:728              <= Recv header, 0000000017\nbytes (0x00000011)\n17:57:10.644479 http.c:740              <= Recv header: HTTP/1.1 200 OK\n17:57:10.644479 http.c:728              <= Recv header, 0000000028\nbytes (0x0000001c)\n17:57:10.644479 http.c:740              <= Recv header:\ntransfer-encoding: chunked\n17:57:10.644479 http.c:728              <= Recv header, 0000000022\nbytes (0x00000016)\n17:57:10.644479 http.c:740              <= Recv header: Server: nginx/1.23.4\n17:57:10.644479 http.c:728              <= Recv header, 0000000037\nbytes (0x00000025)\n17:57:10.644479 http.c:740              <= Recv header: Date: Tue, 09\nMay 2023 09:57:11 GMT\n17:57:10.644479 http.c:728              <= Recv header, 0000000059\nbytes (0x0000003b)\n17:57:10.644479 http.c:740              <= Recv header: Content-Type:\napplication/x-git-upload-pack-advertisement\n17:57:10.644479 http.c:728              <= Recv header, 0000000040\nbytes (0x00000028)\n17:57:10.644479 http.c:740              <= Recv header: Expires: Fri,\n01 Jan 1980 00:00:00 GMT\n17:57:10.644479 http.c:728              <= Recv header, 0000000018\nbytes (0x00000012)\n17:57:10.645480 http.c:740              <= Recv header: Pragma: no-cache\n"}]}