Download httprl-7.x-1.4.tar.gztar.gz 19.26 KB
MD5: 8244d8378ae42531880191e8a1dbf52c
SHA-1: c2377c411c8b6f1933dcf0ea317ab36438cb777e
SHA-256: 710d56cd4ee0a6a462ab1f24bdcffc8512f208b1e337849a79017b800064aa2d
Download httprl-7.x-1.4.zipzip 21.01 KB
MD5: 0cdeb79000a3ad774b588a1c97cf4f4f
SHA-1: f1e900ebd5be686434e51428e1f94e74cd85d568
SHA-256: a5c9d90d66f675c223e1db3fb39af60fee8ec16ef52c54cdb67370d96c3647eb

Release info

Created by: mikeytown2
Created on: February 4, 2012 - 00:57
Last updated: November 5, 2013 - 02:08
Core compatibility: 7.x
Release type: New features, Bug fixes

Release notes

Be sure to flush the menu cache if you wish to access the Configuration page (one time operation).

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.

define('DRUPAL_ROOT', getcwd());

require_once DRUPAL_ROOT . '/includes/';

$result = db_query('SELECT filename FROM {system} WHERE name = :name', array(':name' => 'httprl'))->fetchAssoc();
if (!empty($result)) {
  require_once DRUPAL_ROOT . '/' . $result['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