Apache-MimeXML

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.02  Sun Apr 25 1999
	- Some bug fixes
	- Added support for EBCDIC
	- Addes support for UTF-16-Little Endian
	- Fixed problem with Red Hat's version of perl

0.03  Sat Apr 22 2000
	- Added 'is_xml' into apache notes table if we recognise it as xml.

0.04  Sun Apr 23 2000
	- Use $r->content_encoding rather than embed in content-type.

0.05  Mon Apr 24 2000
	- Added ability to use from other modules
	- Some other minor tweaks

0.06  Tue Apr 25 2000
	- SetHandler perl-script if we detect a PerlHandler

0.07  Wed Apr 16 2000
	- Do the right thing (tm) instead of what 0.06 did.

MimeXML.pm  view on Meta::CPAN


Alternatively add it only for certain files or directories using
the standard Apache methods. There is about a 30% slowdown for
files using this module, so you probably want to restrict
it to certain XML locations only.

=head1 DESCRIPTION

An XML Content-Type sniffer. This module reads the encoding
attribute in the xml declaration and returns an appropriate
content-type heading. If no encoding declaration is found it
returns utf-8 or utf-16 depending on the specific encoding.

=head1 CONFIGURATION

There are a few small configuration options for this module,
allowing you to set various parameters.

=head2 XMLMimeType

Allows you to set the mime type for XML files:

README  view on Meta::CPAN

      PerlTypeHandler +Apache::MimeXML

    Alternatively add it only for certain files or directories using
    the standard Apache methods. There is about a 30% slowdown for
    files using this module, so you probably want to restrict it to
    certain XML locations only.

DESCRIPTION
    An XML Content-Type sniffer. This module reads the encoding
    attribute in the xml declaration and returns an appropriate
    content-type heading. If no encoding declaration is found it
    returns utf-8 or utf-16 depending on the specific encoding.

CONFIGURATION
    There are a few small configuration options for this module,
    allowing you to set various parameters.

  XMLMimeType

    Allows you to set the mime type for XML files:



( run in 1.878 second using v1.01-cache-2.11-cpan-524268b4103 )