Sha256: 5f438018c0adfc8f1ff7f2b547ed46530f95cced26696f15655256ce7f4e1fff

Contents?: true

Size: 1.64 KB

Versions: 1

Compression:

Stored size: 1.64 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://fake_username:wrong_password@api.github.com/user/repos
    body:
      encoding: UTF-8
      string: '{"name":"test_repo","description":"description"}'
    headers:
      User-Agent:
      - Githubrepo
      Content-Type:
      - application/json
      Accept:
      - application/json
  response:
    status:
      code: 401
      message: Unauthorized
    headers:
      Server:
      - GitHub.com
      Date:
      - Sun, 14 Sep 2014 16:09:37 GMT
      Content-Type:
      - application/json; charset=utf-8
      Status:
      - 401 Unauthorized
      X-Github-Media-Type:
      - github.v3
      X-Ratelimit-Limit:
      - '60'
      X-Ratelimit-Remaining:
      - '54'
      X-Ratelimit-Reset:
      - '1410712588'
      X-Xss-Protection:
      - 1; mode=block
      X-Frame-Options:
      - deny
      Content-Security-Policy:
      - default-src 'none'
      Content-Length:
      - '83'
      Access-Control-Allow-Credentials:
      - 'true'
      Access-Control-Expose-Headers:
      - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
        X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
      Access-Control-Allow-Origin:
      - "*"
      X-Github-Request-Id:
      - 6372ADE0:3B43:3F528BF:5415BDC1
      Strict-Transport-Security:
      - max-age=31536000; includeSubdomains; preload
      X-Content-Type-Options:
      - nosniff
    body:
      encoding: UTF-8
      string: '{"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}'
    http_version: 
  recorded_at: Sun, 14 Sep 2014 16:09:37 GMT
recorded_with: VCR 2.9.2

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
githubrepo-0.3.0 spec/fixtures/vcr_cassettes/create_a_repository_with_bad_password.yml