OSCAT Forum

network.lib => Modulentwicklung => Thema gestartet von: Pessimister am 29. August 2010, 14:28:50

Titel: READ_HTTP must be case-independent
Beitrag von: Pessimister am 29. August 2010, 14:28:50
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!
Titel: Re:READ_HTTP must be case-independent
Beitrag von: peewit am 02. September 2010, 15:31:22
you're right
I will correct it