Comments (4)
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.
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.
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.
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)
- Inaccessible charge point after a missed remote start HOT 6
- Steve and Steve-plugsurfing HOT 2
- Connector Status not being shown on the homepage HOT 4
- Error getting connection from data source HikariDataSource (HikariPool-0) HOT 12
- PS Tag stay blocked HOT 9
- [minor] connectors view is not exaustive HOT 1
- [minor] Add Charge Point => Web Site field
- OCPP 1.6 compatibility HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steve-plugsurfing.