oasis-tcs / cti-taxii2

OASIS CTI TC: An official CTI TC repository for TAXII 2 work
https://github.com/oasis-tcs/cti-taxii2
Other
9 stars 4 forks source link

Fix bad content type in interop test #69

Closed varnerac closed 6 years ago

varnerac commented 6 years ago

Interoperability Test Document Part 2 test "2.2.4.3 Missing Authorization Parameter Returns Unauthorized" returns a contetent type HTTP header of:

 Content-Type: application/vnd.oasis.stix+json; version=2.0

for the URL

/api1/collections/170f24af-c685-411d-bd2a-f45248adb245/

The URL pattern /<api-root>/collections/<id>/ refers to the "Get a Collection" endpoint. It should return a content-type of

application/vnd.oasis.taxii+json; version=2.0

varnerac commented 6 years ago

Nevermind. I was looking at the Google Doc linked from the TOC. The Word document has the right value.