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

api/jenkins/start sets an unnecessary cookie and has wrong content-type #301

Open
sthaha opened this issue Jun 14, 2018 · 0 comments
Open
Labels

Comments

@sthaha
Copy link
Contributor

sthaha commented Jun 14, 2018

Here is the output of curl

curl -s -I -X POST  https://jenkins.api.prod-preview.openshift.io/api/jenkins/start

returns

HTTP/1.1 401 Unauthorized
Vary: Origin
Date: Thu, 14 Jun 2018 01:52:11 GMT
Content-Length: 94
Content-Type: text/plain; charset=utf-8
Set-Cookie: aa9519ad98a50707dccfd4122b9635ea=2d455b885365186e18f9dec390132136; path=/; HttpOnly; Secure

which sets a cookie
And the content type is text/plain instead of Content-Type: application/json

@sthaha sthaha changed the title api/jenkins/start sets a cookie unnecessarily api/jenkins/start sets a unnecessary cookie and has wrong content-type Jun 14, 2018
@sthaha sthaha changed the title api/jenkins/start sets a unnecessary cookie and has wrong content-type api/jenkins/start sets an unnecessary cookie and has wrong content-type Jun 14, 2018
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

1 participant