Internal Server Error
, in cherryPy.Right now Unsupported Media Type is showing Error code 500Internal Server Error
, in cherryPy.
Whereas I want to generate error code 415.
--
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cherrypy-users/1cd741a5-88d7-413f-86be-901785f7d0d2%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cherrypy-users/CAFYONRBnv4Z4XeCgod7AzehpD_7%2BAHPkKZetcFLupFEFsKYLOg%40mail.gmail.com.
Thank you and Regards,Currently with my cli in cherryPy Web server, I generate this request:Hi Sviatoslav,Thank you for the reply,
`curl -X POST "http://localhost:11000/api/auth/check" -H "accept: */*" "Content-Type: application/json" -d "{\"token\":\"string\"}"`returns:`{"status": "500 Internal Server Error", "detail": "The server encountered an unexpected condition which prevented it from fulfilling the request.", "request_id": "a0e6df91-37f7-4d08-83a8-cbc7ab677a91"} curl: (3) URL using bad/illegal format or missing URLWhich is not correct, it misguide the users. I want to update the error code from 500 Internal Server Error to 415 Unsupported Media Type. I am unable to figure out what might be the issue, I am quite new with cherryPy.
`Anurag
On Wed, 29 Apr 2020 at 14:56, Sviatoslav Sydorenko <w...@sydorenko.org.ua> wrote:
Do you have any proof?--Sviatoslav.
Sent from my phone, please pardon any typos.
вт, 28 квіт. 2020, 20:58 користувач Anurag Bandhu <anuragb...@gmail.com> пише:
Right now Unsupported Media Type is showing Error code 500--Internal Server Error
, in cherryPy.
Whereas I want to generate error code 415.
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cherrypy-users/1cd741a5-88d7-413f-86be-901785f7d0d2%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe@googlegroups.com.