GithubHelp home page GithubHelp logo

Incorrect error response status code for M1_ContentHostingProvisioning_purgeContentHostingCache operation about rt-5gms-application-server HOT 3 CLOSED

devbbc avatar devbbc commented on September 14, 2024
Incorrect error response status code for M1_ContentHostingProvisioning_purgeContentHostingCache operation

from rt-5gms-application-server.

Comments (3)

rjb1000 avatar rjb1000 commented on September 14, 2024

I have created a Pull Request 5G-MAG/rt-common-shared#16 to add 422 (Unprocessable Entity) to the M3 API as a response to the purgeContentHostingCache operation.

from rt-5gms-application-server.

rjb1000 avatar rjb1000 commented on September 14, 2024

I have also raised 5G-MAG/Standards#40 to add this error response code (as well as a few others) to the purgeContentHostingCache operation in the M1 RESTful API specified in 3GPP TS 26.512.

from rt-5gms-application-server.

rjb1000 avatar rjb1000 commented on September 14, 2024

The ProblemDetails JSON structure conveyed as the body of the HTTP error response should clearly distinguish the various error cases:

  1. The request message body does not conform to the required x-www-form-urlencoded syntax.
  2. The form supplied in the request message body is syntactically correct, but does not include the required key.
  3. The form supplied in the request message body is syntactically correct, but includes unrecognised additional keys.
    • (Less important for the Application Server to check? Maybe it could simply ignore additional keys in the supplied form?)
  4. The form supplied in the request message body is syntactically correct, but the supplied regular expression does not conform to the required syntax.
    • e.g. the regular expression parser threw an error when attempting to compile it.

from rt-5gms-application-server.

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.