Upgrade req to 0.7.5 #1
Loading…
Reference in a new issue
No description provided.
Delete branch "upgrade-req-0.7"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Upgrades Req from 0.5.8 to 0.7.5 (two minor releases with breaking changes).
Impact on this project
GratwifiProbe.HTTPis the only caller. It usesredirect: false,retry: false,decode_body: false,receive_timeoutandconnect_options: [timeout: ...], and follows redirects itself. None of the breaking changes affect those:compressed: true). Req no longer sendsaccept-encoding: gzip, so portals now send uncompressed pages. That's harmless, and the logged byte counts become the real page sizes.Req.Finchadapter replacesrun_finch,connect_optionsis still accepted, the{user, pass}:authform is removed (unused),put_paramsoverwrites (unused), and the GET→POST rewrite was reverted in 0.7.3.Verified
mix compile --force --warnings-as-errorsandmix test(72 tests), including the end-to-end portal flows that make real HTTP requests against a fake portal server.The patch bumps (beam_notify, nerves_ssh, finch) went to
mainseparately in614b23e.