unkown data in socket result

#1
hello
i had install 5.4.1 build 4 of litespeed on my server.
now, when i send a request to my server that using this webserver, the response content as unkown data added by webserver(a number in top of data and a zero at the bottom)!
for example, i send a json string as a result by my script with apache webserver but when i switch to lsws, the webserver add a digit to top of data and also a zero to bottom of it.
example:
by apache it returned {"name":"John"} as response but by lsws it return:
f
{"name":"John"}
0

i attached the screen shots.
 

Attachments

mistwang

LiteSpeed Staff
#2
What you see is HTTP/1.1 "chunked" encoding. a HTTP/1.1 client should be able handle.
If you script do not handle it, just send a HTTP/1.0 request instead.
 
Top