Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (20 sloc) 986 Bytes
Feature: RightHTTPConnection can connect to a secure web server
In order to access HTTP resources in a secure robust fashion
RightHTTPConnection users should be able to connect to a web server that uses HTTPS
And download data
Scenario: normal operation
Given an HTTPS URL
When I request that URL using RightHTTPConnection
Then I should get the contents of the URL
Scenario: normal operation with a CA certification file
Given an HTTPS URL
And a CA certification file containing that server
When I request that URL using RightHTTPConnection
Then I should get the contents of the URL
And there should not be a warning about certificate verification failing
Scenario: man in the middle
Given an HTTPS URL
And a CA certification file not containing that server
When I request that URL using RightHTTPConnection
Then I should get the contents of the URL
And there should be a warning about certificate verification failing
Jump to Line
Something went wrong with that request. Please try again.