insomnia-mockbin icon indicating copy to clipboard operation
insomnia-mockbin copied to clipboard

Proxy-Authentication is not being returned in the headers

Open subnetmarco opened this issue 8 years ago • 4 comments

When making a request with an explicit Proxy-Authorization header, mockbin doesn't show this header in the headers object.

$ curl -H "Proxy-Authorization: Basic hello" mockbin.org/request
{
  "startedDateTime": "2015-08-13T09:26:34.946Z",
  "clientIPAddress": "40.140.33.170",
  "method": "GET",
  "url": "http://mockbin.org/request",
  "httpVersion": "HTTP/1.1",
  "cookies": {},
  "headers": {
    "host": "mockbin.org",
    "connection": "close",
    "user-agent": "curl/7.37.1",
    "accept": "*/*",
    "x-request-id": "1791d542-4330-49d2-aa8d-547f70c6fbd3",
    "x-forwarded-for": "40.140.33.170",
    "x-forwarded-proto": "http",
    "x-forwarded-port": "80",
    "via": "1.1 vegur",
    "connect-time": "0",
    "x-request-start": "1439457994938",
    "total-route-time": "0"
  },
  "queryString": {},
  "postData": {
    "mimeType": "application/octet-stream",
    "text": "",
    "params": []
  },
  "headersSize": 334,
  "bodySize": 0
}

subnetmarco avatar Aug 13 '15 09:08 subnetmarco

another heroku related problem.

ahmadnassri avatar Aug 13 '15 14:08 ahmadnassri

Let me know if you plan on fixing this, because otherwise I need to fallback to a different solution since it's currently breaking Kong's tests.

subnetmarco avatar Aug 13 '15 22:08 subnetmarco

yep, will be moving to AWS over the weekend.

ahmadnassri avatar Aug 14 '15 16:08 ahmadnassri

Moved?

sonicaghi avatar Sep 02 '15 07:09 sonicaghi