GsDevKit / zinc

Zinc HTTP Components is an open-source Smalltalk framework to deal with the HTTP networking protocol.
MIT License
4 stars 10 forks source link

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

Closed dalehenrich closed 3 years ago

dalehenrich commented 7 years ago

See GsDevKit/GsDevKit_home#169 for a suggested patch to ZnUnknownHttpMethod>>signal.

dalehenrich commented 7 years ago

James' latest patch looks like the proper solution ... wait a bit to see if there are any other unwanted side effects from James' testing

dalehenrich commented 7 years ago

James has devised a better patch (with a little help from his friends:) ... this patch may not be for everyone ... since it may be interesting to understand when and if you are getting empty http requests ...

James tracked these down to when you hit an url that is an ip address and let the browser fill in the full entry ... apparently the browsers (some browsers) will hit the ip address with an empty request to see if there's "anybody out there"...