… using a script that has access to a set data structure that can store each request url, so as to break before the second request to the first resource :)- use a client on the first url, and write the location header to file or stdout each time your 3xx response comes through