|
From: Per W. <pw...@ia...> - 2007-09-28 00:08:05
|
You have an apple that doesn't taste good. You ask what you should do about your tongue to make the apple taste good. You can obviously not do anything in the server to get a client to request things it isn't interested in. If the client supports keep-alive, it may request more items using the same connection - but only if the client wants to. Note that there are situations when a server may send out an animaged gif in an "infinite" number of blocks, to get the client to animate some form of job progress of something performed in the server. /pwm On Thu, 27 Sep 2007, angel dario wrote: > > > > From: sci...@ho...: dev...@li....n= etSubject: RequestDate: Thu, 27 Sep 2007 11:16:06 -0600 > > > > Hi...I'm facing a little problem with a HTTP Request.I have a server that= sends out 2 images to a HTTP Client, but the HTTP Client is only REQUESTIN= G for 1.I use recv() function to see what the HTTP Client is Requesting for= and i get:GET /image.gif HTTP/1.1Host: 10.143.23.160User-Agent: Mozilla/5.= 0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.= 0.0.6Accept: image/png,*/*;q=3D0.5Accept-Language: en-us,en;q=3D0.5Accept-E= ncoding: gzip,deflateAccept-Charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7Keep= -Alive: 300Connection: keep-aliveReferer: http://10.143.23.160/JavaHtml.htm= lGET /JavaHtml.html HTTP/1.1Host: 10.143.23.160User-Agent: Mozilla/5.0 (Win= dows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6A= ccept: text/xml,application/xml,application/xhtml+xml,text/html;q=3D0.9,tex= t/plain;q=3D0.8,image/png,*/*;q=3D0.5Accept-Language: en-us,en;q=3D0.5Accep= t-Encoding: gzip,deflateAccept-Charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7K= eep-Alive: 300Connection: keep-aliveand i don't see GET /image2.gif HTTP/1.= 1This means that the HTTP Client is only requesting for the .html file and = only one image.What can i do so that the HTTP client request whatever items= i am sending? > > Explore the seven wonders of the world Learn more! > _________________________________________________________________ > News, entertainment and everything you care about at Live.com. Get it now= ! > http://www.live.com/getstarted.aspx |