Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/01/10 14:07
Read: times


 
#173686 - Example
Responding to: ???'s previous message
Andy Neil said:
I also suggest that you get a copy of Fiddler, and look at what your browser does with "normal" websites...
http://www.fiddlertool.com

Here's an example of MS Internet Explorer getting the 8052.com logo:

MSIE Request said:

GET /images/8052logo2.gif HTTP/1.1
Accept: */*
Referer: http://www.8052.com/
Accept-Language: en-gb
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Accept-Encoding: gzip, deflate
Host: www.8052.com
Connection: Keep-Alive
Pragma: no-cache
Cookie: RI=1390; RP=xb2XXAbZJXq.Y; com8052=a14d692ed2aa01fd980f624a45448881

8052.com response said:
HTTP/1.1 200 OK
Date: Mon, 01 Mar 2010 14:02:32 GMT
Server: Apache/1.3.33 (Unix) mod_ssl/2.8.24 OpenSSL/0.9.8 PHP/4.4.0
Last-Modified: Tue, 12 Feb 2008 02:56:11 GMT
ETag: "79009a-ac7-47b10acb"
Accept-Ranges: bytes
Content-Length: 2759
Keep-Alive: timeout=15, max=60
Connection: Keep-Alive
Content-Type: image/gif

GIF89ad...

*** FIDDLER: RawDisplay truncated. Right-click to disable truncation. ***

So you need to google the appropriate enocding for "Content-Type: image/gif" - and/or whatever other format(s) you want to support...

List of 6 messages in thread
TopicAuthorDate
Embedded web server            01/01/70 00:00      
   Time to research some specs            01/01/70 00:00      
      Example            01/01/70 00:00      
         Interesting            01/01/70 00:00      
            Thanks Andy            01/01/70 00:00      
               MIME Types            01/01/70 00:00      

Back to Subject List