Code Monkey home page Code Monkey logo

Comments (7)

varnerac avatar varnerac commented on August 17, 2024

I may have been wrong to pull the HTTP 1.1 reference. HTTP/2 defers a lot of guidance to the HTTP 1.1 spec.

from cti-taxii2.

johnwunder avatar johnwunder commented on August 17, 2024

This seems reasonable, though I could also see an argument for it being a SHOULD.

from cti-taxii2.

varnerac avatar varnerac commented on August 17, 2024

I feel like any significant TAXII Server is going to have to sit behind a load balancer. It’ll be really difficult to handle the LB’s responses as JSON, especially in the Cloud. That’s why I’m hesitant to even use SHOULD.

from cti-taxii2.

jordan2175 avatar jordan2175 commented on August 17, 2024

This is in section 3.1. The text we are looking to change is:

TAXII responses with an HTTP error code (400-series and 500-series status codes, defined by sections 6.5 and 6.6 of [RFC7231]) that permit a response body (i.e. are not in response to a HEAD request) MUST contain an error message (see section 3.5.1) in the response body.

And we are looking to change the last MUST to be either a SHOULD or a MAY.

from cti-taxii2.

jordan2175 avatar jordan2175 commented on August 17, 2024

Does this also impact our Status Resource that is sent back with a 202 (Accepted) ?

from cti-taxii2.

varnerac avatar varnerac commented on August 17, 2024

No. It's not an error.

from cti-taxii2.

jordan2175 avatar jordan2175 commented on August 17, 2024

This changes was made in Section 3.1

Drew and I discussed this, and it seems like a MAY is the right way to go, since load balancers and cloud systems may need to do creative things with routing the error messages. The new text now says:

TAXII responses with an HTTP error code (400-series and 500-series status codes, defined by sections 6.5 and 6.6 of [RFC7231]) that permit a response body (i.e. are not in response to a HEAD request) MAY contain an error message (see section 3.5.1) in the response body.

from cti-taxii2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.