Hallo,
Was hier Status 100???
100 Continue, wobei ich jetzt wirklich nicht weiß, ob das nun bei HTTP/1.0 oder 1.1 reinkommt und ob es wichtig ist.
- Der Content wird einfach mit \015\012\015\012 an den Header gehängt.
Der Header wird damit abgeschlossen. Es muß keinen Body geben aber wenn, dann komm er gleich danach. Weiterhin reicht es schon aus auf \012 zu prüfen:
(19.3 Tolerant Applications)
The line terminator for message-header fields is the sequence CRLF.
However, we recommend that applications, when parsing such headers,
recognize a single LF as a line terminator and ignore the leading CR.
<
micha
- quellen -
HTTP 1.0 http://www.w3.org/Protocols/rfc1945/rfc1945.
HTTP 1.1 http://www.w3.org/Protocols/rfc2068/rfc2068.