| View previous topic :: View next topic |
| Author |
Message |
coolbaby Guest
|
Posted: Wed Oct 29, 2003 4:03 pm Post subject: How a http server work when receive a client's http post? |
|
|
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
|
Posted: Wed Oct 29, 2003 6:32 pm Post subject: Re: How a http server work when receive a client's http post |
|
|
"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
|
Posted: Thu Oct 30, 2003 3:12 am Post subject: Re: How a http server work when receive a client's http post |
|
|
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
|
Posted: Thu Oct 30, 2003 5:55 am Post subject: Re: How a http server work when receive a client's http post |
|
|
"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
|
Posted: Thu Oct 30, 2003 5:56 am Post subject: Re: How a http server work when receive a client's http post |
|
|
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
|
Posted: Thu Oct 30, 2003 4:36 pm Post subject: Re: How a http server work when receive a client's http post |
|
|
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 |
|
 |
|