Returning 404 - or basically any status code other than 400/500
Bug #1214073 reported by
Doug Hellmann
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
WSME |
Fix Released
|
Undecided
|
Vitaly Kostenko |
Bug Description
[Imported from https:/
Currently, It seems impossible to use HTTP status codes other than 400/500 without "breaking out" of WSME and loosing/replacing the build in error handling.
I'm sure there is a way to do this - REST is the only non-ext protocol after all - Could the documentation be updated to include examples of how this should be done?
Changed in wsme: | |
assignee: | nobody → Vitaly Kostenko (vitalij-ua) |
Changed in wsme: | |
status: | Confirmed → Fix Committed |
Changed in wsme: | |
milestone: | none → 0.8.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
[imported from comment on the original ticket]
Hello Kiall
Sorry not to have let your message go to the mailing-list : i was so busy the message was gone before I could have a look.
The status code handling is poorly handled for now and as you said one a specific error code is returned we loose the built-in error handling.
It is a thing I want to make more clean in the next version. Stay tuned !
Christophe