Hi

This is a discussion on Hi within the Bind Users forums, part of the DNS and Related Forums category; Hi guys i have a question about HTTP, i know this list is about DNS but i couldnt find an ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-30-2004
Servet Zeybek
 
Posts: n/a
Default Hi

Hi guys
i have a question about HTTP, i know this list is about DNS but i couldnt
find an http list.
id be pleased if u could gimme an answer or an http list address

HTTP version Statuscode Text crlf
Headers crlf
crlf
Entity body

the above is HTTP response format. I need to check the status of the
response.
i have 2 ways,
First;
i could read the response until the first space character which is between
HTTPversion and status code and then read the following 3 characters and
check it as status code
Second,
I could read the first whole line, and check the first line if it includes
any status codes such as (200-399).

but i have doubts i cant be sure if the responses will always be in this
format, i mean for example may an HTTP server not send this Version part in
the beginning of the response?, or may there be changes in this format?
what d u think is the best way to check the status of an http response
Thanks in advance
Servet



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:28 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0