GithubHelp home page GithubHelp logo

Comments (4)

schemar avatar schemar commented on September 21, 2024

Just to confirm:
steve returns different HTTP response codes than stated in the docs at http://docs.plugsurfing.com/en/stable ?

Which changes are you referring to? Updating the HTTP response codes of steve? You should definitely do that, if you can. We will have to test the integration then. But in the long run this is definitely the preferred way.

from steve-plugsurfing.

goekay avatar goekay commented on September 21, 2024

i realized that we return, for example, lots of "Bad requests" in https://github.com/RWTH-i5-IDSG/steve-plugsurfing/blob/master/src/main/java/de/rwth/idsg/steve/extensions/plugsurfing/rest/ResourceImpl.java#L137

which the docs did not define in http://docs.plugsurfing.com/en/stable/calls/session_stop.html#response

there are only "Unauthorized" and "Not found". but, the checks in implementation cover also more ground than what's in the docs. situations like "No such session" or "Session already expired/closed" are not defined.

from steve-plugsurfing.

schemar avatar schemar commented on September 21, 2024

Then we will update to documentation to include these cases. That information is very valuable to us. It enables us to show proper error messages to our customers.

from steve-plugsurfing.

goekay avatar goekay commented on September 21, 2024

ok. can you then tell me which http error response codes from the code you will integrate into the docs, and which ones i should change to align with the docs?

from steve-plugsurfing.

Related Issues (9)

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.