Sha256: 278a382a152f515c17a47aa8479ec6385f43ad68f2a6b735f7f02d8eca3ee79e

Contents?: true

Size: 1.52 KB

Versions: 1

Compression:

Stored size: 1.52 KB

Contents

--- 
- !ruby/struct:VCR::HTTPInteraction 
  request: !ruby/struct:VCR::Request 
    method: :post
    uri: http://oneadmin:a9464e3228ae563be6207bbf50437a219550f48b@one.example.com:4567/storage
    body: |
      -------------RubyMultipartPost
      Content-Disposition: form-data; name="file"; filename="null"
      Content-Length: 0
      Content-Type: application/octet-stream
      Content-Transfer-Encoding: binary
      
      
      -------------RubyMultipartPost
      Content-Disposition: form-data; name="occixml"
      
      <?xml version="1.0"?>
      <STORAGE>
        <NAME>Test Framework</NAME>
        <DESCRIPTION>Test Framework Image.</DESCRIPTION>
        <TYPE>OS</TYPE>
        <URL>file:///dev/null</URL>
      </STORAGE>
      
      -------------RubyMultipartPost--

    headers: 
      content-type: 
      - multipart/form-data; boundary=-----------RubyMultipartPost
      content-length: 
      - "480"
      connection: 
      - keep-alive
      keep-alive: 
      - 30
  response: !ruby/struct:VCR::Response 
    status: !ruby/struct:VCR::ResponseStatus 
      code: 201
      message: Created
    headers: 
      content-type: 
      - text/html;charset=utf-8
      content-length: 
      - "193"
      connection: 
      - keep-alive
      server: 
      - thin 1.2.7 codename No Hup
    body: <STORAGE href="http://cm-01.cloud.int.ev1.atti.com:4567/storage/30"><ID>30</ID><NAME>Test Framework</NAME><TYPE>OS</TYPE><DESCRIPTION>Test Framework Image.</DESCRIPTION><SIZE>0</SIZE></STORAGE>
    http_version: "1.1"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
occi-1.1.0 test/fixtures/cassettes/storages_post.yml