Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy-Authentication is not being returned in the headers #36

Open
subnetmarco opened this issue Aug 13, 2015 · 4 comments
Open

Proxy-Authentication is not being returned in the headers #36

subnetmarco opened this issue Aug 13, 2015 · 4 comments
Assignees
Labels

Comments

@subnetmarco
Copy link
Member

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
}
@ahmadnassri
Copy link
Contributor

another heroku related problem.

@subnetmarco
Copy link
Member Author

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.

@ahmadnassri
Copy link
Contributor

yep, will be moving to AWS over the weekend.

@sonicaghi
Copy link
Member

Moved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants