view release on metacpan or search on metacpan
t/11_collect_links.t view on Meta::CPAN
#note explain $links;
is_deeply $links,
{
'icon' => [
{'crossorigin' => 'use-credentials', 'href' => 'https://resources.whatwg.org/logo.svg'},
{'href' => 'https://resources.whatwg.org/logo.svg'}
],
'stylesheet' => [
{'crossorigin' => 'anonymous', 'href' => 'https://resources.whatwg.org/spec.css'},
{'crossorigin' => '', 'href' => 'https://resources.whatwg.org/standard.css'},
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/Mason/FakeApache.pm view on Meta::CPAN
#
# Try to get as much info as possible from CGI.pm, which has
# workarounds for things like the IIS PATH_INFO bug.
#
$self->{headers_in} ||= HTML::Mason::FakeTable->new
( 'Authorization' => $self->{query}->auth_type, # No credentials though.
'Content-Length' => $ENV{CONTENT_LENGTH},
'Content-Type' =>
( $self->{query}->can('content_type') ?
$self->{query}->content_type :
$ENV{CONTENT_TYPE}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/Object/DOM/Element/Shared.pm view on Meta::CPAN
=over 4
=item * C<anonymous>
Requests by the underlying element have their mode set to cors and their credentials mode set to same-origin. This means that CORS is enabled and credentials are sent if the underlying element is fetched from the same origin from which the document w...
=item * C<use-credentials>
Requests by the L<HTML::Object::DOM::Element> will use the cors mode and the include credentials mode; all underlying element requests by the element will use CORS, regardless of what domain the fetch is from.
=back
If crossOrigin is an empty string (""), the anonymous mode is selected.
view all matches for this distribution
view release on metacpan or search on metacpan
t/templates/loopdeloop.tmpl view on Meta::CPAN
<http://use.perl.org/images/pix.gif>
[CPAN] Jesse writes "I'm pleased to announce the public beta of rt.cpan.org, a public bug tracking system for every distribution in the CPAN. Anybody can use the public interface to look at current and past bugs in distributions and to report new bug...
Over the next couple weeks, I'd like the community to put the system through its paces, so we can work out the kinks before we invite the masses to start reporting bugs.
Authors can sign in with their PAUSE credentials to work with and resolve bugs. If you don't have a PAUSE account or if RT's concept of your list of distributions looks wrong, send mail to jesse+cpan@bestpractical.com and I'll take care of it.
In addition to the web interface, anyone can report a bug in a distribution by sending mail to bug-distname@rt.cpan.org (ex: bug-dbix-searchbuilder@rt.cpan.org)."
view all matches for this distribution
view release on metacpan or search on metacpan
third_party/modest/include/myurl/parser.h view on Meta::CPAN
myurl_utils_data_copy_set(url, &data[ url->begin ], (data_length - url->begin), &to, &to ## _length)
#define myurl_parser_append_buffer(url, data, begin, data_length, to) \
myurl_utils_data_copy_append(url, &data[ begin ], (data_length - begin), &to, &to ## _length)
#define myurl_parser_is_includes_credentials(url_entry) (url_entry->username_length || url_entry->password_length)
#ifdef __cplusplus
extern "C" {
#endif
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTTP/DAV/Browse.pm view on Meta::CPAN
sub _dav_init {
my $self = shift;
my $dav = new HTTP::DAV;
$dav->credentials(
$self->username,
$self->password,
$self->base_uri,
$self->realm,
);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTTP/DAV.pm view on Meta::CPAN
}
sub get_lockedresourcelist { $_[0]->{_lockedresourcelist} }
# SET
sub set_workingresource { $_[0]->{_workingresource} = $_[1]; }
sub credentials { shift->{_comms}->credentials(@_); }
######################################################################
# Error handling
## Error conditions
lib/HTTP/DAV.pm view on Meta::CPAN
use HTTP::DAV;
$d = HTTP::DAV->new();
$url = "http://host.org:8080/dav/";
$d->credentials(
-user => "pcollins",
-pass => "mypass",
-url => $url,
-realm => "DAV Realm"
);
lib/HTTP/DAV.pm view on Meta::CPAN
{ "X-My-Header" => "value", ... }
or a L<HTTP::Headers> object.
=item B<credentials(USER,PASS,[URL],[REALM])>
sets authorization credentials for a C<URL> and/or C<REALM>.
When the client hits a protected resource it will check these credentials to see if either the C<URL> or C<REALM> match the authorization response.
Either C<URL> or C<REALM> must be provided.
returns no value
Example:
$d->credentials( -url=>'myhost.org:8080/test/',
-user=>'pcollins',
-pass=>'mypass');
=item B<DebugLevel($val)>
view all matches for this distribution