Fog Creek Software
Discussion Board

Welcome! and rules

Joel on Software

Getting HTTP Status Code from the HTTP header

I am using the Inet control to post something to a web server. I wanna check the HTTP header for the status code. I retrieve the header with the GetHeader() function of the Inet control, and then I split the header string by searching for the space delimiter, but this is not a reliable method. I was thinking there should be some other straight-forward method of getting the status code from the HTTP header. Is there any?

Water Cooler v2
Thursday, January 6, 2005

*  Recent Topics

*  Fog Creek Home