Jump to content
WAPT Forum
Sign in to follow this  
Guest george2008

How to get the HTTP response code from its header

Recommended Posts

Guest george2008

Help, please.

 

How can I easily retrieve the HTTP response code from the response header? For instance, as followed, I need get the code '200' for further uses, please advise. Thanks a lot.

 

HTTP/1.0 200 OK

Date: Fri, 08 Apr 2011 16:13:38 GMT

Server: Oracle-Application-Server-11g

Expires: Thu, 01 Jan 1970 00:00:00 GMT

X-ORACLE-DMS-ECID: 004c6e2D7S^8pmwLGEx0if0003KU003VoZ

X-Powered-By: Servlet/2.5 JSP/2.1

Content-Type: text/html;charset=utf-8

Content-Language: en

X-UA-Compatible: IE=8

Connection: close

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...