Files
danbooru/test/unit
evazion 6e6ce6e62f nijie: replace Mechanize with Danbooru::Http.
The Nijie login process works like this:

* First we submit our `email` and `password` to `https://nijie.info/login_int.php`.
* Then we save the NIJIEIEID session cookie from the response.
* We optionally retry if login failed. Nijie returns 429 errors with a
  `Retry-After: 5` header if we send too many login requests. This can
  happen during parallel testing.
* We cache the login cookies for only 1 hour so we don't have to worry
  about them becoming invalid if we cache them too long.

Cookies and retrying errors on failure are handled transparently by Danbooru::Http.
2020-06-21 05:22:57 -05:00
..
2020-03-21 21:07:35 -05:00
2020-03-20 18:03:00 -05:00
2020-06-20 00:20:39 -05:00
2020-04-21 00:31:16 -05:00
2020-03-21 21:07:35 -05:00
2020-03-21 21:07:35 -05:00
2020-06-11 01:02:01 -05:00
2020-03-21 21:07:35 -05:00
2020-02-23 17:52:38 -06:00
2020-04-06 14:13:22 -05:00