Actually, it's the webserver that sends the 302 to the proper directory path (if it finds that "sky" is truly a directory and not the filename of some other type of file). It's now LWP's fault.
If you type the URL of a directory without the trailing slash, the webserver has to redirect to that directory and then invoke the default handlers (like Apache's DirectoryIndex or MultiViews directives).
And to answer your question, check out
LWP.pm docs:
Supports transparent redirect handling
Oops... Doesn't that suck.
Updated: Added that last part afterwards, because I was motivated enough to look it up for ya. :)