GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GUNGHOX::FOLLOWLINKS::RULE::MIME (3)

.ds Aq ’

NAME

GunghoX::FollowLinks::Rule::MIME - Follow Based On MIME Type

CONTENTS

SYNOPSIS



  use GunghoX::FollowLinks::Rule::MIME;

  # Allow matched, deny unmatched, defer unknown
  my $rule = GunghoX::FollowLinks::Rule::MIME->new(
    types => [ qw(text/html text/plain) ]
  );

  # Deny unmatched, but allow if unknown
  my $rule = GunghoX::FollowLinks::Rule::MIME->new(
    unknown => FOLLOW_ALLOW,
    types   => [ qw(text/html) ]
  );

  # Only allow matched (deny unmatched, deny unknown)
  my $rule = GunghoX::FollowLinks::Rule::MIME->new(
    unknown => FOLLOW_DENY,
    types   => [ qw(text/html) ]
  );



DESCRIPTION

Rule::MIME allows you to use the file name extensions to guess the MIME type of a link, and decided to follow or not based on the type

METHODS

    new

    apply

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 GUNGHOX::FOLLOWLINKS::RULE::MIME (3) 2007-11-12

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.