Make our code DRY by consolidating use of strtoupper

HTTP request methods are always uppercase