Sha256: d6c37c413b4fe78cf5a81c5309197f6442c2b085e858c6bf6f11179a105db784
Contents?: true
Size: 787 Bytes
Versions: 1
Compression:
Stored size: 787 Bytes
Contents
Feature: Handles Compressed Responses In order to save bandwidth As a developer I want to uncompress compressed responses Scenario: Supports deflate encoding Given a remote deflate service And the response from the service has a body of '<h1>Some HTML</h1>' And that service is accessed at the path '/deflate_service.html' When I call HTTPotato#get with '/deflate_service.html' Then the return value should match '<h1>Some HTML</h1>' Scenario: Supports gzip encoding Given a remote gzip service And the response from the service has a body of '<h1>Some HTML</h1>' And that service is accessed at the path '/gzip_service.html' When I call HTTPotato#get with '/gzip_service.html' Then the return value should match '<h1>Some HTML</h1>'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
httpotato-1.0.2 | features/handles_compressed_responses.feature |