Skip to content

Instantly share code, notes, and snippets.

@dgrstl
Created February 23, 2016 20:13
Show Gist options
  • Save dgrstl/600ebb947ea82ff7d193 to your computer and use it in GitHub Desktop.
Save dgrstl/600ebb947ea82ff7d193 to your computer and use it in GitHub Desktop.
GET /tfs/Sandbox/TFSGITPOC/_git/control-repo/info/refs?service=git-upload-pack HTTP/1.1
User-Agent: git/1.8.3.1
Host: ausdwtfsapp01.aus.amer.dell.com:8080
Accept: */*
Accept-Encoding: gzip
Pragma: no-cache
HTTP/1.1 401 Unauthorized
Cache-Control: private
Content-Type: text/html
Server: Microsoft-IIS/8.5
X-TFS-ProcessId: d5c8be8f-341b-40df-9ef1-cf0987e9b4a1
X-FRAME-OPTIONS: SAMEORIGIN
Access-Control-Allow-Origin: *
Access-Control-Max-Age: 3600
Access-Control-Allow-Methods: OPTIONS,GET,POST,PATCH,PUT,DELETE
Access-Control-Expose-Headers: ActivityId,X-TFS-Session
Access-Control-Allow-Headers: authorization
Set-Cookie: Tfs-SessionId=5577849b-76e8-456a-b288-0b5e04fb6c68; path=/
Set-Cookie: Tfs-SessionActive=2016-02-23T20:05:03; path=/
WWW-Authenticate: NTLM
X-Powered-By: ASP.NET
P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
X-Content-Type-Options: nosniff
Date: Tue, 23 Feb 2016 20:05:03 GMT
Content-Length: 1293
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>401 - Unauthorized: Access is denied due to invalid credentials.</title>
<style type="text/css">
<!--
body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;}
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;}
h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
background-color:#555555;}
#content{margin:0 0 0 2%;position:relative;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
-->
</style>
</head>
<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
<div class="content-container"><fieldset>
<h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2>
<h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>
</fieldset></div>
</div>
</body>
</html>
GET /tfs/Sandbox/TFSGITPOC/_git/control-repo/info/refs?service=git-upload-pack HTTP/1.1
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
User-Agent: git/1.8.3.1
Host: ausdwtfsapp01.aus.amer.dell.com:8080
Accept: */*
Accept-Encoding: gzip
Pragma: no-cache
HTTP/1.1 401 Unauthorized
Content-Type: text/html; charset=us-ascii
Server: Microsoft-HTTPAPI/2.0
WWW-Authenticate: NTLM TlRMTVNTUAACAAAACAAIADgAAAAGgokC7gAgBRXIBv4AAAAAAAAAALYAtgBAAAAABgOAJQAAAA9BTUVSSUNBUwIAEABBAE0ARQBSAEkAQwBBAFMAAQAaAEEAVQBTAEQAVwBUAEYAUwBBAFAAUAAwADEABAAaAGEAbQBlAHIALgBkAGUAbABsAC4AYwBvAG0AAwA+AEEAVQBTAEQAVwBUAEYAUwBBAFAAUAAwADEALgBhAHUAcwAuAGEAbQBlAHIALgBkAGUAbABsAC4AYwBvAG0ABQAQAGQAZQBsAGwALgBjAG8AbQAHAAgALYH2e3Vu0QEAAAAA
Date: Tue, 23 Feb 2016 20:05:03 GMT
Content-Length: 341
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Not Authorized</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Not Authorized</h2>
<hr><p>HTTP Error 401. The requested resource requires user authentication.</p>
</BODY></HTML>
GET /tfs/Sandbox/TFSGITPOC/_git/control-repo/info/refs?service=git-upload-pack HTTP/1.1
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAAEAAQAHAAAAAMAAwAgAAAAAAAAAAAAAAABoKJAqsSxWbgmGFXAAAAAAAAAAAAAAAAAAAAAHrRWNV12+bYaSGL7cMsqa963LCG0RTwNlByb2Nlc3NjbWFkaW50ZWdhdXN0bHBvY3BlMDE=
User-Agent: git/1.8.3.1
Host: ausdwtfsapp01.aus.amer.dell.com:8080
Accept: */*
Accept-Encoding: gzip
Pragma: no-cache
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/x-git-upload-pack-advertisement
Server: Microsoft-IIS/8.5
X-TFS-ProcessId: d5c8be8f-341b-40df-9ef1-cf0987e9b4a1
X-FRAME-OPTIONS: SAMEORIGIN
Access-Control-Allow-Origin: *
Access-Control-Max-Age: 3600
Access-Control-Allow-Methods: OPTIONS,GET,POST,PATCH,PUT,DELETE
Access-Control-Expose-Headers: ActivityId,X-TFS-Session
Access-Control-Allow-Headers: authorization
Set-Cookie: Tfs-SessionId=770f4191-7fc0-4a3a-bf0e-30cbc008e643; path=/
Set-Cookie: Tfs-SessionActive=2016-02-23T20:05:04; path=/
X-VSS-UserData: 0972712f-78eb-4ab0-b1f9-c2a4e5562df1:Processcmadinteg
X-AspNet-Version: 4.0.30319
Persistent-Auth: true
X-Powered-By: ASP.NET
P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
X-Content-Type-Options: nosniff
Date: Tue, 23 Feb 2016 20:05:03 GMT
Content-Length: 265
001e# service=git-upload-pack
000000a02ffddb68a611e37234e475b76ad2efe5470dd601 HEAD. multi_ack pack side-band side-band-64k no-progress multi_ack_detailed no-done shallow allow-tip-sha1-in-want
00432ffddb68a611e37234e475b76ad2efe5470dd601 refs/heads/production
0000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment