I am moving a small service, written in GO, to Google App Engine. That service receives some posts from a few buggy embedded devices that have a valid post body but don't submit a Content Length header. There is no body and Apache didn't care about this but Google App Engine returns a 411 error (as it should). I didn't catch this in development because the local server is totally fine w/o the content length header.
I'm wondering, is there a way to catch that error in my application or is that beyond my control?
Thank you for your time,