Download httprl-6.x-1.4.tar.gztar.gz 19.26 KB
MD5: 931ce2f334f6a884486eecfca694d951
SHA-1: 45a46db8db84e6b0c502794991d197e4a3d0ae78
SHA-256: cad9af09b5cb2a9299a0da4ca052ce476534208f8d8fdbcae7aef15f794233b6
Download httprl-6.x-1.4.zipzip 21.01 KB
MD5: 3b27cd2374704d7d63ad7cf292aa1810
SHA-1: 3cc3b0766ed8801d9115eb94b1932c5e9941d08d
SHA-256: 3eddfc3adb46ffc7f59024e0a2a7fa4fe5931759db47fb367cce5cb0294caa16

Release info

Created by: mikeytown2
Created on: 4 Feb 2012 at 00:57 UTC
Last updated: 5 Nov 2013 at 02:08 UTC
Core compatibility: 6.x
Release type: New features, Bug fixes

Release notes

Be sure to flush the menu cache if you wish to access the Configuration page.

Bugs Fixed:
#1420080: Settings form not shown
#1420488: Remove more D6 leftovers that will break in D8
#1419728: Use drupal_convert_to_utf8() for UTF8 conversion
#1420440: Wrong placeholders used in translatable strings of httprl_requirements()
#1420496: HTTP tests are failing
#1419686: Remove invalid referrer
#1420472: D7 upgrade: exit; -> drupal_exit(); leftovers
#1419672: Responds object incomplete / inconsistent
#1420092: httprl_lock_release() not upgraded to D7
#1420084: Status page shows warning as it's using IPv6 and not IPv4 address
#1420104: Logic is broken with redirects

New Features:
#1268096: Implement a rate limiter
#1419744: Exit processing in httprl_send_request() after specified page request run time
#1426886: Allow HTTPRL to operate at the database bootstrap level.
#1426854: Enforce Range headers on the client side

Notes on the new features:
- domain_connections: Maximum number of simultaneous connections to a given domain name. Default is 8.
- global_connections: Maximum number of simultaneous connections that can be open on the server. Default is 128.
- global_timeout: A float representing the maximum number of seconds the function call may take. If a timeout occurs, the error code is set to the HTTP_FUNCTION_TIMEOUT constant. Default is 120 seconds.

Added new documentation for headers that can be sent to the server:
- For POST: 'Content-Type' => 'application/x-www-form-urlencoded',
- Limit number of bytes server sends back: 'Range' => 'bytes=0-1024',
- Let server know where request came from: 'Referer' => '',
- Content-Types that are acceptable: 'Accept' => 'text/plain',
- Send Cookies: 'Cookie' => 'key1=value1; key2=value2;',
- Skip the cache: 'Cache-Control' => 'no-cache',
- Skip the cache: 'Pragma' => 'no-cache',

HTTPRL can safely be ran at the DB bootstrap level now.

require_once './includes/';

$result = db_query("SELECT filename FROM {system} WHERE name = '%s'", 'httprl');
if (!empty($result)) {
  $row = db_fetch_array($result);
  if (!empty($row['filename'])) {
    require_once './' . $row['filename'];

// Can now safely use all HTTPRL functions except for httprl_menu().


The selected release is the release that will be used for automated testing. Optional projects are only used for testing.


No required projects


No optional projects