greptilian logo

IRC log for #rest, 2017-01-24

#rest on freenode has been logged here from May 2014 until end of July 2018 but logging has been suspended because the channel has been riddled with spam since August 2018 with no end in site. See the following blog posts about the problem:

Until the spam problem has been dealt with and logging can resume, please visit our wiki at https://trygvis.io/rest-wiki/

Thanks.

| Channels | #rest index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
01:41 tbsf joined #rest
02:20 fuzzyhorns joined #rest
05:55 sp1rs joined #rest
06:13 bigbluehat joined #rest
06:19 sp1rs joined #rest
06:31 sp1rs joined #rest
06:35 sp1rs joined #rest
08:37 wsieroci joined #rest
09:41 interop_madness joined #rest
09:48 sp1rs joined #rest
10:30 wsieroci joined #rest
10:42 tbsf joined #rest
11:06 sp1rs joined #rest
11:15 sp1rs joined #rest
13:30 sp1rs_ joined #rest
13:38 sp1rs joined #rest
13:52 sp1rs joined #rest
14:25 sp1rs joined #rest
14:27 tbsf joined #rest
14:53 sp1rs joined #rest
14:53 sp1rs joined #rest
15:33 sp1rs joined #rest
15:43 tbsf joined #rest
16:05 sp1rs joined #rest
16:05 sp1rs joined #rest
16:52 tbsf joined #rest
17:35 sp1rs joined #rest
17:36 sp1rs joined #rest
17:59 sp1rs joined #rest
18:24 sp1rs joined #rest
18:30 tbsf joined #rest
18:38 wsieroci joined #rest
19:19 sp1rs joined #rest
19:41 sp1rs joined #rest
20:08 Circuitsoft joined #rest
20:09 Circuitsoft Hello - I'm writing a web API that basically returns a success/failure value. I was planning for success to return 200, and failure to return 500.
20:09 Circuitsoft Is there a specified mimetype for "empty response"?
20:13 wsieroci joined #rest
20:28 sp1rs joined #rest
21:03 wsieroci joined #rest
21:13 tbsf joined #rest
21:14 tbsf joined #rest
21:16 sp1rs joined #rest
21:25 wsiqueir-afk joined #rest
21:38 sp1rs joined #rest
21:39 `0660 joined #rest
22:18 fuzzyhorns joined #rest
22:20 sp1rs joined #rest
23:21 pdurbin Circuitsoft: to me 500 meant something terribly wrong happened inside my app, like a null pointer exception or something. I try to avoid this. But maybe I'm confused about what 500 is supposed to mean.
23:23 whartung a lot of the time, 500 errors are not "empty" rather they have text saying "the server done 'sploded", and typically text/html.
23:24 whartung same with 200 results.
23:24 whartung but in the end, the content type with a zero length payload is not a problem.
23:24 whartung you probably should not be using content type to designate status anyway
23:24 whartung ideally, you're respecting the content type of the request
23:25 whartung if they made an application/json request, kind of rude to send back text/html with the error message, right?
23:29 sp1rs joined #rest
23:50 pdurbin right

| Channels | #rest index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

#rest on freenode has been logged here from May 2014 until end of July 2018 but logging has been suspended because the channel has been riddled with spam since August 2018 with no end in site. See the following blog posts about the problem:

Until the spam problem has been dealt with and logging can resume, please visit our wiki at https://trygvis.io/rest-wiki/

Thanks.