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

[5.x] [console] support HEAD requests #10932

Merged
merged 1 commit into from
Mar 29, 2017
Merged

Conversation

elastic-jasper
Copy link
Contributor

[console] support HEAD requests

Backports PR #10611

Commit 1:
[console] support HEAD requests

Hapi handles HEAD requests automatically (by ignoring the body of a GET response) which prevents the console proxy from handling them correctly. To fix this the console proxy now only accepts requests with the POST method and requires the path and method in the query string.

Commit 2:
[console] proxy 'Warning' header from es

Commit 3:
Merge branch 'master' of github.com:elastic/kibana into fix/console-head-requests

Commit 4:
[console] fix lint errors

Backports PR #10611

**Commit 1:**
[console] support HEAD requests

Hapi handles HEAD requests automatically (by ignoring the body of a GET response) which prevents the console proxy from handling them correctly. To fix this the console proxy now only accepts requests with the POST method and requires the path and method in the query string.

* Original sha: d0aec25
* Authored by spalger <spalger@users.noreply.github.com> on 2017-02-28T02:03:23Z

**Commit 2:**
[console] proxy 'Warning' header from es

* Original sha: 5e932e4
* Authored by spalger <spalger@users.noreply.github.com> on 2017-03-24T05:01:38Z

**Commit 3:**
Merge branch 'master' of github.com:elastic/kibana into fix/console-head-requests

* Original sha: 3145506
* Authored by spalger <spalger@users.noreply.github.com> on 2017-03-28T23:04:50Z

**Commit 4:**
[console] fix lint errors

* Original sha: c4f4bd8
* Authored by spalger <spalger@users.noreply.github.com> on 2017-03-28T23:08:42Z
@spalger spalger merged commit aac87ea into 5.x Mar 29, 2017
@spalger spalger deleted the jasper/backport/10611/5.x branch March 29, 2017 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants