Thread View: news.software.nntp
4 messages
4 total messages
Started by prozac
Tue, 17 Aug 1999 00:00
HEAD BODY STAT COMMANDS
Author: prozac
Date: Tue, 17 Aug 1999 00:00
Date: Tue, 17 Aug 1999 00:00
13 lines
939 bytes
939 bytes
HI Does anyone know the specific possible Server's commands (replies) to those Client's command Cause in RFC I could onlt find commands that suits all the group of article/head/body/stat generally... Thanks
Re: HEAD BODY STAT COMMANDS
Author: meow
Date: Tue, 17 Aug 1999 00:00
Date: Tue, 17 Aug 1999 00:00
31 lines
1941 bytes
1941 bytes
prozac <prozac@microsoft.com> wrote: > Does anyone know the specific possible Server's commands (replies) to those > Client's command They are in the RFC. > Cause in RFC I could onlt find commands that suits all the group of > article/head/body/stat generally... There's a good reason for that. In most implementations, they are really the same command. All four (yes, even STAT is supposed to verify the message ID in the article and not rely on history or other indexes) are expected to fetch the article from the spool; the only difference is how much (if any) of the article actually gets sent back to the client. The parameters you can send for each (artnum, message id or nothing to use the current group/artnum) are identical. (Also, NEXT and LAST are really versions of STAT and will return the same type if response on success.) So, while the 200-series success codes will be different for each of these four commands, the rest of the text returned on the response line will be the same. The only practical difference you need to care about during handling is that STAT/NEXT/LAST return single line reponses and the rest return multilines. The 400/500 series error codes will be the same (with a couple additions for NEXT/LAST).
Re: HEAD BODY STAT COMMANDS
Author: meow
Date: Wed, 18 Aug 1999 00:00
Date: Wed, 18 Aug 1999 00:00
16 lines
1241 bytes
1241 bytes
prozac <prozac@microsoft.com> wrote: > Thanks for the detailed answer, I still dont know which specific 200 > server's reply are suitable for each of article head body stat, > Where cani find the answer ???? In the RFC, see part 4, 'Sample Conversations.' Also, grab the NNTP client lib from ftp.academ.com. The header files should be instructive. (*Please* take a while to read the RFC all the way through before jumping to the "interesting" sections. It will be many times easier that way.)
Re: HEAD BODY STAT COMMANDS
Author: prozac
Date: Wed, 18 Aug 1999 00:00
Date: Wed, 18 Aug 1999 00:00
42 lines
2356 bytes
2356 bytes
Thanks for the detailed answer, I still dont know which specific 200 server's reply are suitable for each of article head body stat, Where cani find the answer ???? Thanks in advance meow wrote in message <87pv0mu26j.fsf@banet.net>... >prozac <prozac@microsoft.com> wrote: > >> Does anyone know the specific possible Server's commands (replies) to those >> Client's command > >They are in the RFC. > >> Cause in RFC I could onlt find commands that suits all the group of >> article/head/body/stat generally... > >There's a good reason for that. In most implementations, they are >really the same command. All four (yes, even STAT is supposed to >verify the message ID in the article and not rely on history or other >indexes) are expected to fetch the article from the spool; the only >difference is how much (if any) of the article actually gets sent back >to the client. The parameters you can send for each (artnum, message >id or nothing to use the current group/artnum) are identical. > >(Also, NEXT and LAST are really versions of STAT and will return the >same type if response on success.) > >So, while the 200-series success codes will be different for each of >these four commands, the rest of the text returned on the response >line will be the same. The only practical difference you need to care >about during handling is that STAT/NEXT/LAST return single line >reponses and the rest return multilines. > >The 400/500 series error codes will be the same (with a couple >additions for NEXT/LAST).
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads