lib/http/protocol/headers.rb in http-protocol-0.3.2 vs lib/http/protocol/headers.rb in http-protocol-0.4.0
- old
+ new
@@ -18,9 +18,13 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
module HTTP
module Protocol
+ TRANSFER_ENCODING = 'transfer-encoding'.freeze
+ CONTENT_LENGTH = 'content-length'.freeze
+ CHUNKED = 'chunked'.freeze
+
class Headers
class Split < Array
COMMA = /\s*,\s*/
def initialize(value)