How does SMTP mark the end of a message body? How about HTTP? Can HTTP use the same method as SMTP to mark the end of a message body? Explain.
Simple Mail Transport Protocol (SMTP) uses a line containing only a period to mark the end of a message body.
Hyper Text transport Protocol (HTTP) uses “Content-Length header field” to indicate the length of a message body.
No, Hyper Text transport Protocol (HTTP) cannot use the method used by Simple Mail Transport Protocol (SMTP), because Hyper Text transport Protocol (HTTP) message could be binary data, where as in Simple Mail Transport Protocol (SMTP), the message body must be in 7-bit ASCII format.