READ_HTTP must be case-independent

Begonnen von Pessimister, 29. August 2010, 14:28:50

Vorheriges Thema - Nächstes Thema

0 Mitglieder und 2 Gäste betrachten dieses Thema.

Pessimister

For example: HTTP_GET calls READ_HTTP in order to content length evaluation:

READ_HTTP(size:=HEADER_STOP,pos:=0,SRC:='Content-Length',pt:=R_BUF.BUFFER);

HTTP header contains the following:

HTTP/1.1 200 NO ERROR
date: Tue, 15 Oct 2002 13:30:25 GMT
content-type: text/html
connection: close
content-length: 2640

Note that content length will not be found in this case!

peewit