Lines Matching full:url
31 #pod * C<http_proxy> — URL of a proxy server to use for HTTP connections
33 #pod * C<https_proxy> — URL of a proxy server to use for HTTPS connections
35 #pod * C<proxy> — URL of a generic proxy server for both HTTP and HTTPS
212 #pod $response = $http->get($url);
213 #pod $response = $http->get($url, \%options);
214 #pod $response = $http->head($url);
217 #pod URL must have unsafe characters escaped and international domain names encoded.
229 my (\$self, \$url, \$args) = \@_;
231 or _croak(q/Usage: \$http->$sub_name(URL, [HASHREF])/ . "\n");
232 return \$self->request('$req_method', \$url, \$args || {});
239 #pod $response = $http->post_form($url, $form_data);
240 #pod $response = $http->post_form($url, $form_data, \%options);
243 #pod form data hash or array reference to the given URL with a C<content-type> of
249 #pod The URL must have unsafe characters escaped and international domain names
258 my ($self, $url, $data, $args) = @_;
260 or _croak(q/Usage: $http->post_form(URL, DATAREF, [HASHREF])/ . "\n");
267 return $self->request('POST', $url, {
282 #pod $response = $http->mirror($url, $file, \%options)
287 #pod Executes a C<GET> request for the URL and saves the response body to the file
288 #pod name provided. The URL must have unsafe characters escaped and international
304 my ($self, $url, $file, $args) = @_;
306 or _croak(q/Usage: $http->mirror(URL, FILE, [HASHREF])/ . "\n");
326 my $response = $self->request('GET', $url, $args);
345 #pod $response = $http->request($method, $url);
346 #pod $response = $http->request($method, $url, \%options);
349 #pod 'PUT', etc.) on the given URL. The URL must have unsafe characters escaped and
356 #pod If the URL includes a "user:password" stanza, they will be used for Basic-style
387 #pod specific peer address, regardless of the URL of the request. This will
393 #pod The C<Host> header is generated from the URL in accordance with RFC 2616. It
421 #pod * C<url> —
422 #pod URL that provided the response. This is the URL of the request unless
423 #pod there were redirections, in which case it is the last URL queried
453 my ($self, $method, $url, $args) = @_;
455 or _croak(q/Usage: $http->request(METHOD, URL, [HASHREF])/ . "\n");
461 $response = eval { $self->_request($method, $url, $args) };
476 url => $url,
628 my ($self, $method, $url, $args) = @_;
630 my ($scheme, $host, $port, $path_query, $auth) = $self->_split_url($url);
633 die(qq/Unsupported URL scheme '$scheme'\n/);
665 $self->_prepare_headers_and_cb($request, $args, $url, $auth);
672 $self->_update_cookie_jar( $url, $response ) if $self->{cookie_jar};
700 $response->{url} = $url;
777 _croak(qq{$type URL must be in format http[s]://[auth@]<host>:<port>/\n});
823 my ($self, $request, $args, $url, $auth) = @_;
880 my $cookies = $self->cookie_jar->cookie_header( $url );
921 my ($self, $url, $response) = @_;
928 $self->cookie_jar->add( $url, $_ ) for @cookies;
964 my $url = pop;
967 my ($scheme, $host, $path_query) = $url =~ m<\A([^:/?#]+)://([^/?#]*)([^#]*)>
968 or die(qq/Cannot parse URL: '$url'\n/);
1803 C<http_proxy> — URL of a proxy server to use for HTTP connections (default is C<$ENV{http_proxy}> — if set)
1807 C<https_proxy> — URL of a proxy server to use for HTTPS connections (default is C<$ENV{https_proxy}> — if set)
1811 C<proxy> — URL of a generic proxy server for both HTTP and HTTPS connections (default is C<$ENV{all_proxy}> — if set)
1854 $response = $http->get($url);
1855 $response = $http->get($url, \%options);
1856 $response = $http->head($url);
1859 URL must have unsafe characters escaped and international domain names encoded.
1866 $response = $http->post_form($url, $form_data);
1867 $response = $http->post_form($url, $form_data, \%options);
1870 form data hash or array reference to the given URL with a C<content-type> of
1876 The URL must have unsafe characters escaped and international domain names
1884 $response = $http->mirror($url, $file, \%options)
1889 Executes a C<GET> request for the URL and saves the response body to the file
1890 name provided. The URL must have unsafe characters escaped and international
1905 $response = $http->request($method, $url);
1906 $response = $http->request($method, $url, \%options);
1909 'PUT', etc.) on the given URL. The URL must have unsafe characters escaped and
1916 If the URL includes a "user:password" stanza, they will be used for Basic-style
1951 C<peer> — Override host resolution and force all connections to go only to a specific peer address, regardless of the URL of the request. This will include any redirections! This options should be used with extreme caution (e.g. debugging or very special circumstances). It can be given as either a scalar or a code reference that will receive the hostname and whose response will be taken as the address.
1955 The C<Host> header is generated from the URL in accordance with RFC 2616. It
1988 C<url> — URL that provided the response. This is the URL of the request unless there were redirections, in which case it is the last URL queried in a redirection chain
2182 authorization is supported and it must be provided as part of the proxy URL:
2347 =for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan