BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How a http server work when receive a client's http post?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
coolbaby
Guest





PostPosted: Wed Oct 29, 2003 4:03 pm    Post subject: How a http server work when receive a client's http post? Reply with quote



to write a http server ,how to deal with a client's http post.
What rfc document talk about it?

anyone know about it?


Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Wed Oct 29, 2003 6:32 pm    Post subject: Re: How a http server work when receive a client's http post Reply with quote




"coolbaby" <cby (AT) dhc (DOT) com.cn> wrote

Quote:
to write a http server ,how to deal with a client's
http post. What rfc document talk about it?

There are not separate RFCs for client-specific vs. server-specific details.
Everything is in the main RFC for the HTTP protocol itself as a whole, which
is RFC 1945 ([url]http://www.ietf.org/rfc/rfc1945.txt)[/url]. RFC 2616
(http://www.ietf.org/rfc/rfc2616.txt) is for HTTP v1.1, if you want to
support that as well.


Gambit



Back to top
coolbaby
Guest





PostPosted: Thu Oct 30, 2003 3:12 am    Post subject: Re: How a http server work when receive a client's http post Reply with quote



ok,thanks

It must be difficult to extract the information from a client's http post.
If the information is a binary, not pure string.


"Remy Lebeau (TeamB)" <gambit47.no.spam (AT) no (DOT) spam.yahoo.com> 写入消息新闻
:3fa00709$1 (AT) newsgroups (DOT) borland.com...
Quote:

"coolbaby" <cby (AT) dhc (DOT) com.cn> wrote in message
news:3f9fe446 (AT) newsgroups (DOT) borland.com...
to write a http server ,how to deal with a client's
http post. What rfc document talk about it?

There are not separate RFCs for client-specific vs. server-specific
details.
Everything is in the main RFC for the HTTP protocol itself as a whole,
which
is RFC 1945 ([url]http://www.ietf.org/rfc/rfc1945.txt)[/url]. RFC 2616
(http://www.ietf.org/rfc/rfc2616.txt) is for HTTP v1.1, if you want to
support that as well.


Gambit





Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Thu Oct 30, 2003 5:55 am    Post subject: Re: How a http server work when receive a client's http post Reply with quote


"coolbaby" <cby (AT) dhc (DOT) com.cn> wrote


Quote:
It must be difficult to extract the information from a client's http post.

Not really. The data is fairly straight forward, although some decoding is
involved.

Quote:
If the information is a binary, not pure string.

Only the physical file data is binary, but there is text involved as well,
since MIME is typically used to describe the data being transmitted.


Gambit




Back to top
Reiner
Guest





PostPosted: Thu Oct 30, 2003 5:56 am    Post subject: Re: How a http server work when receive a client's http post Reply with quote

String and binary is just different interpretation of memory/data. Normal
post data is usually however readable as it generally gets input into web
forms by typing it.

"coolbaby" <cby (AT) dhc (DOT) com.cn> wrote

Quote:
ok,thanks

It must be difficult to extract the information from a client's http post.
If the information is a binary, not pure string.



Back to top
F閘ix GUILLEMOT
Guest





PostPosted: Thu Oct 30, 2003 4:36 pm    Post subject: Re: How a http server work when receive a client's http post Reply with quote

see TWebRequest.ContentFields in Delphi's help

"coolbaby" <cby (AT) dhc (DOT) com.cn> a 閏rit dans le message de news:
[email]3f9fe446 (AT) newsgroups (DOT) borland.com[/email]...
Quote:
to write a http server ,how to deal with a client's http post.
What rfc document talk about it?

anyone know about it?





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.