mercoledì 9 maggio 2007

Reminder to myself

Request.UserAgent can be null (when the client does not specify it). I was trying to detect the Googlebot and be nice with it, and later found it failed with a few other requests because of a missing null check. DOH!

Nessun commento: