{
  "http_interactions": [
    {
      "recorded_at": "2017-01-29T21:21:29",
      "request": {
        "body": {
          "encoding": "utf-8",
          "string": "grant_type=password&password=<PASSWORD>&username=<USERNAME>"
        },
        "headers": {
          "Accept": "*/*",
          "Accept-Encoding": "identity",
          "Authorization": "Basic <BASIC_AUTH>",
          "Connection": "keep-alive",
          "Content-Length": "57",
          "Content-Type": "application/x-www-form-urlencoded",
          "User-Agent": "<USER_AGENT> PRAW/4.3.1.dev0 prawcore/0.8.0"
        },
        "method": "POST",
        "uri": "https://www.reddit.com/api/v1/access_token"
      },
      "response": {
        "body": {
          "encoding": "UTF-8",
          "string": "{\"access_token\": \"<ACCESS_TOKEN>\", \"token_type\": \"bearer\", \"expires_in\": 3600, \"scope\": \"*\"}"
        },
        "headers": {
          "Accept-Ranges": "bytes",
          "Connection": "keep-alive",
          "Content-Length": "105",
          "Content-Type": "application/json; charset=UTF-8",
          "Date": "Sun, 29 Jan 2017 21:21:29 GMT",
          "Server": "snooserv",
          "Set-Cookie": "loid=sBzrXkkmMRPQyddEAa; Domain=reddit.com; Max-Age=63071999; Path=/;  secure",
          "Strict-Transport-Security": "max-age=15552000; includeSubDomains; preload",
          "Via": "1.1 varnish",
          "X-Cache": "MISS",
          "X-Cache-Hits": "0",
          "X-Moose": "majestic",
          "X-Served-By": "cache-lax8622-LAX",
          "X-Timer": "S1485724888.763684,VS0,VE403",
          "cache-control": "max-age=0, must-revalidate",
          "x-content-type-options": "nosniff",
          "x-frame-options": "SAMEORIGIN",
          "x-xss-protection": "1; mode=block"
        },
        "status": {
          "code": 200,
          "message": "OK"
        },
        "url": "https://www.reddit.com/api/v1/access_token"
      }
    },
    {
      "recorded_at": "2017-01-29T21:21:29",
      "request": {
        "body": {
          "encoding": "utf-8",
          "string": "--419e5f44641843cb96de7d890ac695c2\r\nContent-Disposition: form-data; name=\"api_type\"\r\n\r\njson\r\n--419e5f44641843cb96de7d890ac695c2\r\nContent-Disposition: form-data; name=\"img_type\"\r\n\r\npng\r\n--419e5f44641843cb96de7d890ac695c2\r\nContent-Disposition: form-data; name=\"name\"\r\n\r\npraw\r\n--419e5f44641843cb96de7d890ac695c2\r\nContent-Disposition: form-data; name=\"upload_type\"\r\n\r\nimg\r\n--419e5f44641843cb96de7d890ac695c2\r\nContent-Disposition: form-data; name=\"file\"; filename=\"invalid.jpg\"\r\n\r\ninvalid\n\r\n--419e5f44641843cb96de7d890ac695c2--\r\n"
        },
        "headers": {
          "Accept": "*/*",
          "Accept-Encoding": "identity",
          "Authorization": "bearer <ACCESS_TOKEN>",
          "Connection": "keep-alive",
          "Content-Length": "524",
          "Content-Type": "multipart/form-data; boundary=419e5f44641843cb96de7d890ac695c2",
          "Cookie": "loid=sBzrXkkmMRPQyddEAa; loidcreated=1485724888000",
          "User-Agent": "<USER_AGENT> PRAW/4.3.1.dev0 prawcore/0.8.0"
        },
        "method": "POST",
        "uri": "https://oauth.reddit.com/r/<TEST_SUBREDDIT>/api/upload_sr_img?raw_json=1"
      },
      "response": {
        "body": {
          "encoding": "UTF-8",
          "string": "{\"errors\": [\"IMAGE_ERROR\"], \"img_src\": \"\"}"
        },
        "headers": {
          "Accept-Ranges": "bytes",
          "Connection": "keep-alive",
          "Content-Length": "42",
          "Content-Type": "application/json; charset=UTF-8",
          "Date": "Sun, 29 Jan 2017 21:21:29 GMT",
          "Server": "snooserv",
          "Strict-Transport-Security": "max-age=15552000; includeSubDomains; preload",
          "Via": "1.1 varnish",
          "X-Cache": "MISS",
          "X-Cache-Hits": "0",
          "X-Moose": "majestic",
          "X-Served-By": "cache-lax8651-LAX",
          "X-Timer": "S1485724889.362050,VS0,VE132",
          "cache-control": "private, s-maxage=0, max-age=0, must-revalidate, max-age=0, must-revalidate",
          "expires": "-1",
          "x-content-type-options": "nosniff",
          "x-frame-options": "SAMEORIGIN",
          "x-ratelimit-remaining": "597.0",
          "x-ratelimit-reset": "511",
          "x-ratelimit-used": "3",
          "x-ua-compatible": "IE=edge",
          "x-xss-protection": "1; mode=block"
        },
        "status": {
          "code": 200,
          "message": "OK"
        },
        "url": "https://oauth.reddit.com/r/<TEST_SUBREDDIT>/api/upload_sr_img?raw_json=1"
      }
    }
  ],
  "recorded_with": "betamax/0.8.0"
}
