thanks for the response,

yeah I thought I probably got the MIME types thing a bit confused, so I guess the MIME type just tells the type of document right, i.e. the content type. "There is no necessary correlation between a URL and the content type it serves." ok I got that, but unfortunately I still have my problem...

you see i'm trying to find out the different technologies that are used on different sites, i.e. the number of sites using Perl/PHP/ASP, I can tell this by the file extension, i.e. index.php or index.pl or index.asp etc, so if I just send a request for http://www.google.com/ how can I get the extension of the file it returns...? I just need to get the filename of the returned file, or something like that, if anyone knows a better way to do this great :-)

I hope that made my question a little clearer, thanks again!

btw, is it true that Perl is the only programming language that looks the same before and after RSA encryption?! :-)


In reply to Re: •Re: MIME types by shaolin_gungfu
in thread MIME types by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.