in reply to IE Mechanize

I need to verify that certain hidden fields are getting set properly.

Why do you need response headers to do that? It's indirect and thus less reliable than getting the value of the hidden fields directly from the fields.

Replies are listed 'Best First'.
Re^2: IE Mechanize
by Anonymous Monk on Apr 27, 2009 at 17:23 UTC
    The hidden field values are set with javascript so I can't verify the values until I click the submit button on our form.

      So you want the request header (GET) or request body (POST), not the response header.

      I don't know if you can get the response, but getting the request would be even less likely. You could have your server-side script spit back the request as an HTML comment (or whatever) in the response when testing.