GsDevKit_home icon indicating copy to clipboard operation
GsDevKit_home copied to clipboard

How can we avoid recording empty HTTP requests to object log as errors?

Open jgfoster opened this issue 7 years ago • 5 comments

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]`

jgfoster avatar Mar 02 '17 18:03 jgfoster