Skip to content

Instantly share code, notes, and snippets.

@iffyuva
Created July 18, 2017 17:34
Show Gist options
  • Save iffyuva/c6327944a998c83411e1b4d4f045304e to your computer and use it in GitHub Desktop.
Save iffyuva/c6327944a998c83411e1b4d4f045304e to your computer and use it in GitHub Desktop.
[[:connection,
"GET /_theme HTTP/1.1\r\n" +
"Host: dev.test.dev\r\n" +
"User-Agent: curl/7.51.0\r\n" +
"Accept: */*\r\n" +
"\r\n"]]
[["0f06d8f0-4e0d-0135-4206-60accb741930", :conn_complete]]
[[:connected]]
test : Started GET "/_theme" for 127.0.0.1 at 2017-07-18 23:02:55 +0530
test : Completed 401 Unauthorized in 1658ms (ActiveRecord: 127.9ms)
[["0f06d8f0-4e0d-0135-4206-60accb741930",
"HTTP/1.1 401 Unauthorized\r\n" +
"WWW-Authenticate: Basic realm=\"Application\"\r\n" +
"Content-Type: text/html; charset=utf-8\r\n" +
"Vary: Accept-Encoding, Origin\r\n" +
"Cache-Control: no-cache\r\n" +
"Set-Cookie: _test_uid=BAhpAnYE--690334c6d28a0a72943259b4a2dd19d2833b6dfa; path=/; expires=Thu, 18 Jul 2019 17:32:59 -0000; HttpOnly\r\n" +
"X-Request-Id: 28baa9e5-0f47-4d71-b3e7-6297e3825f01\r\n" +
"X-Runtime: 3.503027\r\n" +
"Transfer-Encoding: chunked\r\n" +
"\r\n" +
"1b"]]
[[:relay_from_backend,
"0f06d8f0-4e0d-0135-4206-60accb741930",
"HTTP/1.1 401 Unauthorized\r\n" +
"WWW-Authenticate: Basic realm=\"Application\"\r\n" +
"Content-Type: text/html; charset=utf-8\r\n" +
"Vary: Accept-Encoding, Origin\r\n" +
"Cache-Control: no-cache\r\n" +
"Set-Cookie: _test_uid=BAhpAnYE--690334c6d28a0a72943259b4a2dd19d2833b6dfa; path=/; expires=Thu, 18 Jul 2019 17:32:59 -0000; HttpOnly\r\n" +
"X-Request-Id: 28baa9e5-0f47-4d71-b3e7-6297e3825f01\r\n" +
"X-Runtime: 3.503027\r\n" +
"Transfer-Encoding: chunked\r\n" +
"\r\n" +
"1b"]]
[["0f06d8f0-4e0d-0135-4206-60accb741930",
"\r\n" + "HTTP Basic: Access denied.\n" + "\r\n" + "0\r\n" + "\r\n"]]
[[:relay_from_backend,
"0f06d8f0-4e0d-0135-4206-60accb741930",
"\r\n" + "HTTP Basic: Access denied.\n" + "\r\n" + "0\r\n" + "\r\n"]]
[[:unbind, :connection, nil]]
[["0f06d8f0-4e0d-0135-4206-60accb741930", :unbind, nil]]
[[:unbind_backend, "0f06d8f0-4e0d-0135-4206-60accb741930"]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment