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

Invalid content type in response to server discovery request #39

Open
saaj opened this issue Jul 15, 2020 · 1 comment
Open

Invalid content type in response to server discovery request #39

saaj opened this issue Jul 15, 2020 · 1 comment

Comments

@saaj
Copy link

saaj commented Jul 15, 2020

Steps to reproduce

curl -v --user foo:bar -H "Accept: application/taxii+json;version=2.1" http://localhost:8080/taxii2/

Expected result

Response Content-Type is application/taxii+json;version=2.1 which is required by 4.1 Server Discovery.

Actual result

Content-Type is application/stix+json;version=2.1.

Neither is the discovery response body a valid STIX 2.1.

@StephenOTT
Copy link
Owner

@saaj good catch. Its a bug with the default action/provider not kicking it. I will post a fix for this today or tomorrow.

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

No branches or pull requests

2 participants