Lets consider the following situation. User has entered in url field
the following url address: move.com Their server sens reply with the
following headers:
HTTP/1.1 302 Moved Temporary
Location: http://www.move.com/

firefox automatically downloads the content from: http://www.move.com/,
and it changes an url filed to http://www.move.com/.

The question is: how this field is being changed? Does firefox store
an url from the headers received from move.com or it has a function
which changes url to needed when it received reply from server? Or it
uses another mechanism?

I need to know the way it works and I hope you guys can help me.
Thanks in advance.