sorry for the delay, the i-rule i'm using is out of the Sharepoint deployment guide.here it is:
when HTTP_RESPONSE {
if { [HTTP::header Content-Length] > 0 } {
set clen [HTTP::header "Content-Length"]
} else {
set clen 4294967295
}
HTTP::collect $clen
}
when HTTP_RESPONSE_DATA {
set find "http://"
set replace "https://"
set payload [HTTP::payload]
if {[regsub -all $find $payload $replace new_response] > 0} {
HTTP::payload replace 0 [HTTP::payload length] $new_response
HTTP::header replace "Content-Length" [string bytelength $new_response]
}
}