PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Noms de domaine > comp.protocols.tcp-ip > Are NNTP status responses guaranteed to end in CR LF?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.protocols.tcp-ip TCP and IP network protocols.

Are NNTP status responses guaranteed to end in CR LF?

Réponse
 
LinkBack Outils de la discussion
Vieux 19/10/2006, 05h39   #1
tjb
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Are NNTP status responses guaranteed to end in CR LF?

As far as I can tell, RFC 977 doesn't actually specify whether status
responses are guaranteed to end with CR LF. Text responses and commands
are quite clearly defined as ending with CR LF, however. Am I missing
something here?
  Réponse avec citation
Vieux 20/10/2006, 02h47   #2
Barry Margolin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Are NNTP status responses guaranteed to end in CR LF?

In article <12hrb358nbz2x.dlg@tjb.invalid.invalid>,
tjb <tjb@invalid.invalid> wrote:

> As far as I can tell, RFC 977 doesn't actually specify whether status
> responses are guaranteed to end with CR LF. Text responses and commands
> are quite clearly defined as ending with CR LF, however. Am I missing
> something here?


Section 2.4.2 Status Responses contains:

Parameters are separated from the numeric response code and from each
other by a single space. All numeric parameters are decimal, and may
have leading zeros. All string parameters begin after the separating
space, and end before the following separating space or the CR-LF
pair at the end of the line.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
  Réponse avec citation
Vieux 20/10/2006, 14h48   #3
tjb
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Are NNTP status responses guaranteed to end in CR LF?

Barry Margolin <barmar@alum.mit.edu> wrote:
>> As far as I can tell, RFC 977 doesn't actually specify whether status
>> responses are guaranteed to end with CR LF. Text responses and commands
>> are quite clearly defined as ending with CR LF, however. Am I missing
>> something here?

>
> Section 2.4.2 Status Responses contains:
>
> Parameters are separated from the numeric response code and from each
> other by a single space. All numeric parameters are decimal, and may
> have leading zeros. All string parameters begin after the separating
> space, and end before the following separating space or the CR-LF
> pair at the end of the line.


Ah. So the key point is the end part, I take it -- "the CR-LF pair at the
end of the line". Thanks.

(I wish this RFC were more explicit. It really wouldn't hurt for it to
state "All status responses end with a CR-LF pair."
  Réponse avec citation
Vieux 21/10/2006, 03h35   #4
Barry Margolin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Are NNTP status responses guaranteed to end in CR LF?

In article <1faf2ocbxr6p7.dlg@tjb.invalid.invalid>,
tjb <tjb@invalid.invalid> wrote:

> Barry Margolin <barmar@alum.mit.edu> wrote:
> >> As far as I can tell, RFC 977 doesn't actually specify whether status
> >> responses are guaranteed to end with CR LF. Text responses and commands
> >> are quite clearly defined as ending with CR LF, however. Am I missing
> >> something here?

> >
> > Section 2.4.2 Status Responses contains:
> >
> > Parameters are separated from the numeric response code and from each
> > other by a single space. All numeric parameters are decimal, and may
> > have leading zeros. All string parameters begin after the separating
> > space, and end before the following separating space or the CR-LF
> > pair at the end of the line.

>
> Ah. So the key point is the end part, I take it -- "the CR-LF pair at the
> end of the line". Thanks.
>
> (I wish this RFC were more explicit. It really wouldn't hurt for it to
> state "All status responses end with a CR-LF pair."


This RFC is indeed quite sloppy.

It's a pretty old RFC, predating the formal RFC review process we
currently have.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
  Réponse avec citation
Vieux 21/10/2006, 06h19   #5
tjb
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Are NNTP status responses guaranteed to end in CR LF?

Barry Margolin <barmar@alum.mit.edu> wrote:
>> (I wish this RFC were more explicit. It really wouldn't hurt for it to
>> state "All status responses end with a CR-LF pair."

>
> This RFC is indeed quite sloppy.
>
> It's a pretty old RFC, predating the formal RFC review process we
> currently have.


I see. Thanks for the info!
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 14h26.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12756 seconds with 13 queries