Project

General

Profile

Actions

Feature #6494

closed

Send Accept-Encoding for all HTTP requests

Added by drbrain (Eric Hodel) about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Target version:
[ruby-core:45224]

Description

This patch builds atop #6492 to enable Accept-Encoding by default for all HTTP requests that permit bodies. (Without #6492 it will break Net::HTTP.)

This patch moves setting the Accept-Encoding header from Net::HTTP#get to Net::HTTP::GenericRequest#initialize.


Files


Related issues 1 (0 open1 closed)

Blocked by Ruby master - Feature #6492: Inflate all HTTP Content-Encoding: deflate, gzip, x-gzip responses by defaultClosednaruse (Yui NARUSE)05/25/2012Actions
Actions

Also available in: Atom PDF