Mime-Type Checker - Help

Help for the Mime-Type checker applet.

Media URL

Content URL
Mime-Type(s)
UA String

The URL of the media for whose mime-type you wish to check. For URLs to servers other than this one (and why would you be wanting to check our server?), the applet must be trusted, otherwise it is unable to check anything.

Expected Mime-Type

Content URL
Mime-Type(s)
UA String

The Mime-Type expected of this content. E.G.

  • .html - text/html
  • .jpg - image/jpeg
  • .mp3 - audio/mpeg

A group of possible mime-types can be supplied by separating them with commas. E.G. JavaScript might be served as one of three types:

  1. text/javascript
  2. text/ecmascript
  3. application/x-javascript

So that translates to:-

Content URL
Mime-Type(s)
UA String

If no Mime-Type is provided, the applet will attempt to guess the mime-type from the filename of the URL. It is more robust to supply a content-type or types explicitly.

User-Agent string

Content URL
Mime-Type(s)
UA String

By default, a Java based HttpURLConnection provides a null User-Agent string. Some servers will (sensibly) bar any connection that does not identify itself, so occasionally it is necessary to provide a string for the User-Agent that will make the server happy.

Do not act against a server's ROBOTS.TXT and conditions of use. If the server prohibits access other than through a standard browser, please do not use this applet to access it.

Test Mime-Type

Tests the resource at the end of the URL for its content type, and provides a report.

Report

The report text area will provide a report on the URL specified. The background color of the report will be set according to the statuses OK, warning or error.

OK

The resource was reachable, existed & matched the expected mime-type.

Content URL
Mime-Type(s)
UA String

Warning

The resource was reachable, existed & and did not match the expected mime-type.

Content URL
Mime-Type(s)
UA String

Error

The resource was not reachable, or did not exist. The mime-type check could not be done.

Sandbox

Sandoxed applet attempting to reach cross-domain.

Content URL
Mime-Type(s)
UA String

Response code 404

Resource not found. Check the URL supplied & try it in a browser.

Content URL
Mime-Type(s)
UA String

Response code 503

Needs User-Agent request header (usually).

Content URL
Mime-Type(s)
UA String

With User-Agent header.

Content URL
Mime-Type(s)
UA String
© 2003-2011 by Andrew Thompson. All rights reserved.
Web hosting compliments of Java Web Hosting.
Java Web Hosting