Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 18 lines (14 sloc) 0.707 kb
d0bd45f Add feature exercising range requests
mpage authored
1 Feature: Range request support
2
3 As a user of Cloud Foundry
4 I want to be able to retrieve portions of my files
5
6 Background: Range request support
7 Given I have registered and logged in
8 Given I have deployed my application named simple_app
9
10 Scenario: Request with a partially specified range
11 When I request a file named foo.rb with the range '-10'
12 Then I should get back the final 10 bytes of the file.
13 When I request a file named foo.rb with the range '10-'
14 Then I should get back the final 222 bytes of the file.
15
16 Scenario: Request with a fully specified range
17 When I request a file named foo.rb with the range '10-20'
18 Then I should get back bytes 10-20 of the file.
Something went wrong with that request. Please try again.