================================================== ==================================================
im traing to modify the web crawler 'user-agent' and the 'if-modify-since' to verify if the page web was NOT MODIFIED since 'strValIfModif':

strLink = "http://www.sqaforums.com/"

strUserAgent = "user-agent"
strValUserAgent = "googleBot"

strIfModif = "if-modified-since"
strValIfModif = cdate("2010-04-16 20:55:36")

Set objXMLHTTP = CreateObject("MSXML2.XMLHTTP")

objXMLHTTP.open "POST", strLink, false

'and then i modify the 'user-agent' and the 'if-modified-since' :

objXMLHTTP.setRequestHeader strUserAgent, strValUserAgent
objXMLHTTP.setRequestHeader strIfModif, strValIfModif

objXMLHTTP.send ("")

'here when i would get the new values of the web crawler
msgbox objXMLHTTP.getResponseHeader (strUserAgent)
msgbox objXMLHTTP.getResponseHeader (strIfModif)
'i got nothing !!!!

If objXMLHTTP.Status = 200 Then
MsgBox "SUCCESS : " & objXMLHTTP.statusText
Elseif objXMLHTTP.Status = 304 Then 'NOT MODIFIED
MsgBox "FAILURE : " & objXMLHTTP.statusText
End If

and then i dont know how can i get the response time of the HTTP request !!

thanks in advance