GsDevKit_home
GsDevKit_home copied to clipboard
How can we avoid recording empty HTTP requests to object log as errors?
We have observed that browsers will open a connection to our web server and then close the connection without sending a request. These get recorded in the object log as an unrecognized method (the empty string is not a GET, not a POST, etc.). We are considering the following:
`ZnUnknownHttpMethod>>signal
^method isEmpty
ifTrue: [self] "okay to ignore empty requests"
ifFalse: [super signal]`