mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
13 lines
447 B
Gherkin
13 lines
447 B
Gherkin
![]() |
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 '/service.html'
|
||
|
When I call HTTParty#get with '/service.html'
|
||
|
Then the return value should match '<h1>Some HTML</h1>'
|