Gangadhar Mylapuram writes:
Hi everybody,

1. In case of body fetch,  is entire body content a single line or
multiple lines?

Each string (for example the body text) you get from the server is in one of three forms:

1. a simple word, such as �rock�.

2. a quoted single-line string, such as �"rock & roll"�.

3. a counted string, can be multiple lines, such as �{10}
rock
roll�. The number is the string's length.

(This explanation is a little simplified. The grammar in RFC 3501 tells
the full and exact truth.)

The server can choose what form it wants to use. The client must be
prepared for all three forms.

For a body fetch:

If the message body is empty, the server can use forms 2 or 3
If the message body is one word, the server can use forms 1, 2 or 3
If the message body is one line (more than one word), the server can use
forms 2 or 3
If the message body is more than one line, the server must use form 3

--Arnt

Reply via email to