Saturday, February 18, 2017

Follow-up

To a recent post about how someone other than me is sending a response to an HTTP POST message that I am processing:

Some new facts have come to light, specifically

  • A successfully added object results in a 201 code being returned, but curl is getting back 200.
  • If I immediately respond to a post, I can force it to use whatever code I want.
  • Even when I send garbage JSON, I still get back a 200.
I love netty! I do!  I do!

All hail netty!

No comments:

Post a Comment