Download Size md5 hash
httprl-6.x-1.4.tar.gz 19.26 KB 931ce2f334f6a884486eecfca694d951 21.01 KB 3b27cd2374704d7d63ad7cf292aa1810
Last updated: February 4, 2012 - 01:00

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'])) {
'./' . $row['filename'];

// Can now safely use all HTTPRL functions except for httprl_menu().
View change notices for this release
Official release from tag: