Skip to content

Instantly share code, notes, and snippets.

@jfarcand
Created October 7, 2010 14:43
Show Gist options
  • Save jfarcand/615186 to your computer and use it in GitHub Desktop.
Save jfarcand/615186 to your computer and use it in GitHub Desktop.
Request DefaultHttpRequest(chunked: false)
GET /snapshots/org/apache/maven/its/maven-it-helper/2.1-SNAPSHOT/maven-metadata.xml HTTP/1.1
Host: repository.apache.org
Pragma: no-cache
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Accept-Encoding: gzip
Authorization: BASIC Zm9vOm51bGw=
Connection: keep-alive
User-Agent: Apache-Maven/3.0 (Java 1.6.0_20; Mac OS X 10.6.4)
Response DefaultHttpResponse(chunked: false)
HTTP/1.1 401 Unauthorized
Date: Thu, 07 Oct 2010 16:43:05 GMT
Server: Jetty(6.1.19)
WWW-Authenticate: BASIC realm="Sonatype Nexus Repository Manager"
Content-Length: 0
Content-Type: application/xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment