felipecsl/wombat

View on GitHub
fixtures/vcr_cassettes/make_post_request.yml

Summary

Maintainability
Test Coverage
---
http_interactions:
- request:
    method: post
    uri: http://hroch486.icpf.cas.cz/cgi-bin/echo.pl
    body:
      encoding: US-ASCII
      string: your_name=Name
    headers:
      accept-encoding:
      - gzip,deflate,identity
      accept:
      - "*/*"
      user-agent:
      - Mechanize/2.7.3 Ruby/2.2.2p95 (http://github.com/sparklemotion/mechanize/)
      accept-charset:
      - ISO-8859-1,utf-8;q=0.7,*;q=0.7
      accept-language:
      - en-us,en;q=0.5
      host:
      - hroch486.icpf.cas.cz
      content-type:
      - application/x-www-form-urlencoded
      content-length:
      - '14'
      connection:
      - keep-alive
      keep-alive:
      - 300
  response:
    status:
      code: 200
      message: OK
    headers:
      date:
      - Thu, 13 Aug 2015 07:37:36 GMT
      server:
      - Apache/2.2.23 (Fedora)
      keep-alive:
      - timeout=15, max=100
      connection:
      - Keep-Alive
      transfer-encoding:
      - chunked
      content-type:
      - text/html; charset=UTF-8
    body:
      encoding: UTF-8
      string: "<HTML>\n<HEAD>\n<TITLE>CGI/1.0 test script report:</TITLE>\n</HEAD>\n<BODY>\n<H1>CGI/1.0
        test script report:</H1>\nThis CGI script was written in Perl 5 by <a href=\"mailto:wagner@mbox.cesnet.cz\">Z.
        Wagner</a>.<p>\n<H2>General information</H2>\n<UL>\n<LI>SERVER_SOFTWARE =
        Apache/2.2.23 (Fedora)\n<LI>SERVER_NAME = hroch486.icpf.cas.cz\n<LI>GATEWAY_INTERFACE
        = CGI/1.1\n<LI>SERVER_PROTOCOL = HTTP/1.1\n<LI>SERVER_PORT = 80\n<LI>REQUEST_METHOD
        = POST\n<LI>HTTP_ACCEPT = */*\n<LI>HTTP_REFERER = \n<LI>HTTP_USER_AGENT =
        Mechanize/2.7.3 Ruby/2.2.2p95 (http://github.com/sparklemotion/mechanize/)\n<LI>PATH_INFO
        = \n<LI>PATH_TRANSLATED = \n<LI>REQUEST_URI = /cgi-bin/echo.pl\n<LI>SCRIPT_NAME
        = /cgi-bin/echo.pl\n<LI>QUERY_STRING = \n<LI>REMOTE_HOST = \n<LI>REMOTE_ADDR
        = 88.147.153.25\n<LI>REMOTE_PORT = 54361\n<LI>REMOTE_USER = \n<LI>AUTH_TYPE
        = \n<LI>CONTENT_TYPE = application/x-www-form-urlencoded\n<LI>CONTENT_LENGTH
        = 14\n<LI>HTTP_COOKIES = \n</UL>\n<H2>Apache extensions</H2>\n<UL>\n<LI>SERVER_ADMIN
        = root@localhost\n<LI>SERVER_SIGNATURE = <address>Apache/2.2.23 (Fedora) Server
        at hroch486.icpf.cas.cz Port 80</address>\n\n<LI>QUERY_STRING_UNESCAPED =
        \n<LI>REDIRECT_QUERY_STRING = \n<LI>REDIRECT_URL = \n<LI>UNIQUE_ID = \n<LI>SCRIPT_FILENAME
        <i>is intentionally hidden (full file name of the script)</i>\n<LI>DOCUMENT_ROOT
        <i>is intentionally hidden</i>\n</UL>\n<H2>Query</H2>\n<P><code>your_name=Name</code>\n<H2>Parsed
        values</H2>\n<UL>\n<LI>your_name = Name\n</UL>\n<H2>No cookies!</H2></BODY>\n</HTML>\n"
    http_version: '1.1'
  recorded_at: Thu, 13 Aug 2015 07:37:36 GMT
recorded_with: VCR 2.9.3