Result:
found more than 754 distributions - search limited to the first 2001 files matching your query ( run in 0.514 )


Compress-Stream-Zstd

 view release on metacpan or  search on metacpan

ext/zstd/contrib/largeNbDicts/README.md  view on Meta::CPAN

--nbDicts=# : create # dictionaries for bench (default: one per block) 
-h          : help (this text) 
 
Advanced Options (see zstd.h for documentation) : 
--dedicated-dict-search
--dict-content-type=#
--dict-attach-pref=#
```

 view all matches for this distribution


Contenticious

 view release on metacpan or  search on metacpan

lib/Contenticious.pm  view on Meta::CPAN

<!doctype html>
<html>
<head>
    % my $t = join ' - ' => grep { $_ } stash('title'), config('name');
    <title><%= $t || 'contenticious!' %></title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" type="text/css" href="<%= rel_url_for 'styles.css' %>">
</head>
<body>
<div id="top">
    <div id="inner">

 view all matches for this distribution


Continuity

 view release on metacpan or  search on metacpan

lib/Continuity/Adapt/HttpDaemon.pm  view on Meta::CPAN

  return "$docroot$path";
}

=head2 C<< $adapter->send_static($request) >>

Sends a static file off of the filesystem. The content-type is guessed by
HTTP::Daemon, plus we specifically tell it how to do png, css, and js.

This may be obvious, but you can't send binary data as part of the same request
that you've already sent text or HTML on, MIME aside. Thus either this is
called OR we invoke a continuation, but not both.

lib/Continuity/Adapt/HttpDaemon.pm  view on Meta::CPAN


XXX todo: understands GET parameters and POST in
application/x-www-form-urlencoded format, but not POST data in
multipart/form-data format.  Use the AsCGI thing if you actually really need
that (it's used for file uploads).
# XXX check request content-type, if it isn't x-form-data then throw an error
# XXX pass in multiple param names, get back multiple param values

Delegates requests off to the request object it was initialized from.

In other words: Continuity::Adapt::HttpDaemon is the ongoing running HttpDaemon

 view all matches for this distribution


Convert-BinHex

 view release on metacpan or  search on metacpan

lib/Convert/BinHex.pm  view on Meta::CPAN

=item creator [VALUE]

I<Instance method.>
Get/set the creator of the file.  This is a four-character
string (though I don't know if it's guaranteed to be printable ASCII!)
that serves as part of the Macintosh's version of a MIME "content-type".

For example, a document created by "Canvas" might have
creator C<"CNVS">.

=cut

lib/Convert/BinHex.pm  view on Meta::CPAN

=item type [VALUE]

I<Instance method.>
Get/set the type of the file.  This is a four-character
string (though I don't know if it's guaranteed to be printable ASCII!)
that serves as part of the Macintosh's version of a MIME "content-type".

For example, a GIF89a file might have type C<"GF89">.

=cut

 view all matches for this distribution


Convert-BulkDecoder

 view release on metacpan or  search on metacpan

lib/Convert/BulkDecoder.pm  view on Meta::CPAN

	    $self->{_md5}->add($t) if $self->{md5};
	    next;
	}

	# Check for MIME.
	if ( m;^content-type:.*(image/|multipart);i ) {
	    return 'M';		# MIME
	}

	if ( m/^=ybegin\s+.*\s+name=(.+)/i ) {
	    return "Y$1";	# yEnc

 view all matches for this distribution


Convos

 view release on metacpan or  search on metacpan

lib/Convos/public/js/jquery.js  view on Meta::CPAN


	return target;
}

/* Handles responses to an ajax request:
 * - finds the right dataType (mediates between content-type and expected dataType)
 * - returns the corresponding response
 */
function ajaxHandleResponses( s, jqXHR, responses ) {
	var firstDataType, ct, finalDataType, type,
		contents = s.contents,
		dataTypes = s.dataTypes;

	// Remove auto dataType and get content-type in the process
	while ( dataTypes[ 0 ] === "*" ) {
		dataTypes.shift();
		if ( ct === undefined ) {
			ct = s.mimeType || jqXHR.getResponseHeader("Content-Type");
		}
	}

	// Check if we're dealing with a known content-type
	if ( ct ) {
		for ( type in contents ) {
			if ( contents[ type ] && contents[ type ].test( ct ) ) {
				dataTypes.unshift( type );
				break;

lib/Convos/public/js/jquery.js  view on Meta::CPAN

						requestHeaders[ name ] = value;
					}
					return this;
				},

				// Overrides response content-type header
				overrideMimeType: function( type ) {
					if ( !state ) {
						s.mimeType = type;
					}
					return this;

 view all matches for this distribution


Couch-DB

 view release on metacpan or  search on metacpan

lib/Couch/DB/Document.pod  view on Meta::CPAN


 [CouchDB API "GET /{db}/{docid}/{attname}", UNTESTED]

Load the data of the attachment into this Document.

If the content-type of the attachment is C<application/octet-stream>,
then you can use the C<Accept-Ranges> header (option C<_header>) to
select bytes inside the attachement.

=item $obj-E<gt>B<attSave>($name, $data, %options)

 view all matches for this distribution


Courriel

 view release on metacpan or  search on metacpan

lib/Courriel/Headers.pm  view on Meta::CPAN

    my $class = shift;
    my $name  = shift;
    my $value = shift;

    my ( $header_class, $method )
        = lc $name eq 'content-type'
        ? ( 'Courriel::Header::ContentType', 'new_from_value' )
        : lc $name eq 'content-disposition'
        ? ( 'Courriel::Header::Disposition', 'new_from_value' )
        : ( 'Courriel::Header', 'new' );

 view all matches for this distribution


CrawlerCommons-RobotRulesParser

 view release on metacpan or  search on metacpan

lib/CrawlerCommons/RobotRulesParser.pm  view on Meta::CPAN


The text content of the robots.txt file to be parsed.

=item * C<$content_type>

The content-type of the robots.txt content to be parsed.  Assumes text/plain by
default.  If type is text/html, the parser will attempt to strip-out html tags
from the content.

=item * C<$robot_name>

 view all matches for this distribution


Crypt-LE

 view release on metacpan or  search on metacpan

lib/Crypt/LE.pm  view on Meta::CPAN

        $resp = defined $payload ? $self->{ua}->post($url, { headers => $headers, content => $self->_jws($payload, $url, $opts) }) :
                           $self->{ua}->post($url, { headers => $headers });
    } else {
        $resp = $self->{ua}->$method($url);
    }
    my $slurp = ($resp->{headers}->{'content-type'} and $resp->{headers}->{'content-type'}=~/^application\/(?:problem\+)?json/) ? 0 : 1;
    $self->_debug($slurp ? $resp->{headers} : $resp);
    $self->{nonce} = $resp->{headers}->{'replay-nonce'} if $resp->{headers}->{'replay-nonce'};
    my ($status, $rv) = ($resp->{status}, $resp->{content});
    unless ($slurp) {
        eval {

 view all matches for this distribution


Crypt-MatrixSSL

 view release on metacpan or  search on metacpan

ppmhtml/site/lib/Crypt/MatrixSSL.html  view on Meta::CPAN

<script language="JavaScript" src="../../../tocParas.js"></script>
<script language="JavaScript" src="../../../tocTab.js"></script>
<link rel="stylesheet" type="text/css" href="../../../scineplex.css">
<title>Crypt::MatrixSSL - Perl extension for SSL and TLS using MatrixSSL.org</title>
<link rel="stylesheet" href="../../../Active.css" type="text/css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:" />
</head>

<body>

 view all matches for this distribution


DBD-ODBC

 view release on metacpan or  search on metacpan

examples/money_test.cgi  view on Meta::CPAN

if	($action eq 'SAVE_PROV')	{&save_prov;}
else 					{&prov;}


sub prov {
	print "content-type: text/html\n\n";

	print "<Html><Head><Title>Title</Title></Head>\n";
	print "<BODY><CENTER><BR><BR>\n\n\n";
	print "<FORM NAME=A ACTION=money_test.cgi METHOD=POST><INPUT TYPE=HIDDEN NAME=ACTION VALUE=SAVE_PROV><TABLE BORDER=0 BGCOLOR=#DDDDDD>\n";
	print "<TR><TD><B>&nbsp;Text&nbsp;</B></TD><TD><B>&nbsp;Level1&nbsp;</B></TD><TD><B>&nbsp;Level2&nbsp;</B></TD><TD>&nbsp;</TD></TR>\n";

 view all matches for this distribution


DBD-cubrid

 view release on metacpan or  search on metacpan

INSTALL.html  view on Meta::CPAN

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>INSTALL - How to install and configure DBD::cubrid</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>

<body style="background-color: white">

<p><a name="__index__"></a></p>

 view all matches for this distribution


DBD-drizzle

 view release on metacpan or  search on metacpan

INSTALL.html  view on Meta::CPAN

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>INSTALL - How to install and configure DBD::drizzle</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>

<body style="background-color: white">

 view all matches for this distribution


DBIx-Class-ResultSource-MultipleTableInheritance

 view release on metacpan or  search on metacpan

README.html  view on Meta::CPAN

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>lib/DBIx/Class/ResultSource/MultipleTableInheritance.pm</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:amiri@akbuntu.(none)" />
</head>

<body style="background-color: white">

 view all matches for this distribution


DBIx-Frame

 view release on metacpan or  search on metacpan

DBIx/Frame.pm  view on Meta::CPAN

Related functions: C<tables()>

=item  FIELDS	

This is a hashref containing the fields contained within the table.  The
hash has field-name/content-type key/value pairs. These fields are assumed to 
be the only ones the table knows of, and extra data will be discarded by
the functions above.  As such, this is vital if you actually want to use
the database.

Example (from TCB::Publications::Papers):

 view all matches for this distribution


DBIx-PgLink

 view release on metacpan or  search on metacpan

Install.html  view on Meta::CPAN

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>DBIx::PgLink::Manual::Install</title>
<link rel="stylesheet" href="../../../../../Active.css" type="text/css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:" />
</head>

<body>
<table border="0" width="100%" cellspacing="0" cellpadding="3">

 view all matches for this distribution


DBIx-Safe

 view release on metacpan or  search on metacpan

Safe.pm.html  view on Meta::CPAN

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>DBIx::Safe - Safer access to your database through a DBI database handle</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />

</head>

<body style="background-color: white">

 view all matches for this distribution


DDG

 view release on metacpan or  search on metacpan

lib/DDG/Rewrite.pm  view on Meta::CPAN

		$cfg .= "\tproxy_set_header Accept-Encoding '';\n";
	}

	if($uses_echo_module || $content_type_javascript) {
		# This is a workaround that deals with endpoints that don't support callback functions.
		# So endpoints that don't support callback functions return a content-type of 'application/json'
		# because what they're returning is not meant to be executed in the first place.
		# Setting content-type to application/javascript for those endpoints solves blocking due to
		# mime type mismatches.
		$cfg .= "\tmore_set_headers 'Content-Type: application/javascript; charset=utf-8';\n";
	}

	$cfg .= "\techo_before_body '$callback(';\n" if $wrap_jsonp_callback;

 view all matches for this distribution


DTA-CAB

 view release on metacpan or  search on metacpan

CAB/Client/HTTP.pm  view on Meta::CPAN

  #$form{enc} = $form{encoding} if ($form{encoding});
  $form{fmt} = $form{format} if ($form{format});
  delete(@form{qw(format encoding qraw headers cacheGet cacheSet)});
  delete(@form{grep {!defined($form{$_})} keys %form});

  ##-- content-type hacks
  my $ctype = $opts->{contentType};
  $ctype = 'application/octet-stream' if (!$ctype);
  delete(@form{qw(q qd contentType)});

  ##-- compatibility check / raw vs. formatted

 view all matches for this distribution


Dallycot

 view release on metacpan or  search on metacpan

lib/Dallycot/Library/Linguistics.pm  view on Meta::CPAN

      return $text -> resolve_content -> then(
        sub {
          my ($body) = @_;
          my $content = '';
          given ( blessed $body ) {
            when ('HTML') {    # content-type: text/html
                               # we want to strip out the HTML and keep only text in the
                               # <body /> outside of <script/> tags
              my $dom = Mojo::DOM->new( $body->{'value'} );
              $content = $dom->find('body')->all_text;
            }
            when ('Dallycot::Value::String') {    # content-type: text/plain
              $content = $body->value;
            }
            when ('XML') {       # content-type: text/xml (TEI, etc.)
              my $dom = Mojo::DOM->new->xml(1)->parse( $body->{'value'} );
              $content = $dom->all_text;
            }
            default {
              croak "Unable to extract text from " . $text->{'value'};

 view all matches for this distribution


Dancer-Layout-Bootstrap

 view release on metacpan or  search on metacpan

public/javascripts/jQuery/jquery-1.7.2.min.js  view on Meta::CPAN

/*! jQuery v1.7.2 jquery.com | jquery.org/license */
(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("ifram...
a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3]....
.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(argumen...

 view all matches for this distribution


Dancer-Plugin-Catmandu-OAI

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.0308  2016-05-26 14:08:53 CEST
  - more pod and a demo application
  - bugfixes

0.0307  2015-07-02 15:00:35 CEST
  - put function call "content_type 'xml'" in function "render". Now errors also have content-type application/xml

0.0306  2015-03-13 09:52:27 CET
    - metadata_formats cql option
    - fix pod
    - more tests

 view all matches for this distribution


Dancer-Plugin-DebugToolbar

 view release on metacpan or  search on metacpan

share/debugtoolbar/js/jquery.min.js  view on Meta::CPAN

 * Copyright 2011, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Thu May 12 15:04:36 2011 -0400
 */
(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!cj[a]){var b=f("<"+a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d===""){ck||(ck=c.createElement("iframe"),...
)});return}if(e.nodeType===3||e.nodeType===8)return;c.result=b,c.target=e,d=d?f.makeArray(d):[],d.unshift(c);var k=e,l=h.indexOf(":")<0?"on"+h:"";do{var m=f._data(k,"handle");c.currentTarget=k,m&&m.apply(k,d),l&&f.acceptData(k)&&k[l]&&k[l].apply(k,d)...
b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!bb.test(k))k=b.createTextNode(k);else{k=k.replace($,"<$1></$2>");var l=(_.exec(k)||["",""])[1].toLowerCase(...

 view all matches for this distribution


Dancer-Plugin-DirectoryView

 view release on metacpan or  search on metacpan

lib/Dancer/Plugin/DirectoryView.pm  view on Meta::CPAN

# have stolen it from rack/directory.rb. The world of open-source is full of
# thieves.
$builtin_tpl->{layout} = <<END;
<html><head>
  <title>[% path %]</title>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <style type="text/css">
table { width: 100%; }
.name { text-align:left; }
.size, .mtime { text-align:right; }
.type { width:11em; }

 view all matches for this distribution


Dancer-Plugin-Email

 view release on metacpan or  search on metacpan

CHANGES  view on Meta::CPAN

  Change: c0332a9cc1945c41f12e999c734558f4fe94f58d
  Author: unknown <Administrator@.(none)>
  Date : 2010-09-10 20:20:33 +0000

    fixed smtp authentication support, added reply_to, default
    content-type is text 

  Change: d135fa031b9010e21bf568d58a5c1ef8e3893361
  Author: Al Newkirk & Associates <github@alnewkirk.com>
  Date : 2010-09-10 15:43:26 +0000

 view all matches for this distribution


Dancer-Plugin-Preprocess-Less

 view release on metacpan or  search on metacpan

lib/Dancer/Plugin/Preprocess/Less.pm  view on Meta::CPAN

            open(my $f, '>', $css_file_abs);
            print {$f} $css;
            close($f);
        }
        
        header 'content-type' => 'text/css';
        return $css;
    }
    else {
        # Check if the CSS file exists. Probably not, because if it does exist,
        # then Dancer should have already served it as a static file, and we

 view all matches for this distribution


Dancer-Plugin-Preprocess-Sass

 view release on metacpan or  search on metacpan

lib/Dancer/Plugin/Preprocess/Sass.pm  view on Meta::CPAN

            open(my $f, '>', $css_file_abs);
            print {$f} $css;
            close($f);
        }
        
        header 'content-type' => 'text/css';
        return $css;
    }
    else {
        # Check if the CSS file exists. Probably not, because if it does exist,
        # then Dancer should have already served it as a static file, and we

 view all matches for this distribution


Dancer

 view release on metacpan or  search on metacpan

lib/Dancer.pm  view on Meta::CPAN

        return "This is " . config->{appname};
    };

=head2 content_type

Sets the B<content-type> rendered, for the current route handler:

    get '/cat/:txtfile' => sub {
        content_type 'text/plain';

        # here we can dump the contents of param('txtfile')

lib/Dancer.pm  view on Meta::CPAN

        content_type 'svg';

        # here we can dump the image with id param('id')
    };

Note that if you want to change the default content-type for every route, you
have to change the C<content_type> setting instead.

=head2 dance

Alias for the C<start> keyword.

lib/Dancer.pm  view on Meta::CPAN

            streaming => 1,
            bytes     => 524288, # 512K
        );
    };

The content-type will be set depending on the current MIME types definition
(see C<mime> if you want to define your own).

If your filename does not have an extension, or you need to force a
specific mime type, you can pass it to C<send_file> as follows:

 view all matches for this distribution


( run in 0.514 second using v1.01-cache-2.11-cpan-0d8aa00de5b )