Handling status codes in get_url module

Code to talk about
https://github.com/tecarlsson/ansible-modules-core/commit/8fb54c65d545417d515b35ecea1c5e63f0882eed

The implementation is not superb, but it shows which status codes I would like to talk about. :slight_smile:

The status codes in this code is as far as I know http status codes.
So I guess that they only will exist when the connection type is http/https.

Is that correct?

/Tobias