|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
getting raw http headers
hi,
do you know any website or code which i can use to sniff the raw http headers that are obtained in the html form. Eg. I want to read "HTTP/1.1 200 OK" in the header and so on |
|
#2
|
|||
|
|||
|
I looked around in the web browser control but didn't see an obvious way to view the http headers. Maybe someone has done such code before.
You can use wget from linux if you are just troubleshooting something. |
|
#3
|
|||
|
|||
|
No, I want it for IE only, some script in VB perhaps, I want to use the header code information for logging! and some other purpose
Please anybody! and thank you |
|
#4
|
|||
|
|||
|
I found a google link that stated you could use the Microsoft Internet Transfer Control to retrieve headers, but I haven't been able to verify this yet.
Update: It's pretty easy. inet1 is an Internet Transfer Control Code:
inet1.openURL "http://www.<mysite>.com" msgbox inet1.GetHeader Last edited by Doug G : September 13th, 2003 at 05:26 PM. |
|
#5
|
|||
|
|||
|
thank you very much Doug!
|
|
#6
|
|||
|
|||
|
Yes!Great Doug G!
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > getting raw http headers |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|