httpx 0.14.4 → 0.15.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/doc/release_notes/0_13_2.md +1 -1
  3. data/doc/release_notes/0_14_5.md +11 -0
  4. data/doc/release_notes/0_15_0.md +53 -0
  5. data/doc/release_notes/0_15_1.md +8 -0
  6. data/doc/release_notes/0_15_2.md +9 -0
  7. data/doc/release_notes/0_15_3.md +5 -0
  8. data/lib/httpx.rb +1 -0
  9. data/lib/httpx/connection.rb +14 -3
  10. data/lib/httpx/connection/http1.rb +22 -5
  11. data/lib/httpx/connection/http2.rb +14 -0
  12. data/lib/httpx/domain_name.rb +0 -290
  13. data/lib/httpx/errors.rb +2 -0
  14. data/lib/httpx/extensions.rb +1 -1
  15. data/lib/httpx/loggable.rb +1 -1
  16. data/lib/httpx/options.rb +5 -1
  17. data/lib/httpx/plugins/cookies/cookie.rb +1 -2
  18. data/lib/httpx/plugins/cookies/jar.rb +4 -0
  19. data/lib/httpx/plugins/digest_authentication.rb +19 -21
  20. data/lib/httpx/plugins/grpc.rb +1 -1
  21. data/lib/httpx/plugins/grpc/call.rb +1 -2
  22. data/lib/httpx/plugins/ntlm_authentication.rb +66 -0
  23. data/lib/httpx/plugins/proxy/socks4.rb +4 -0
  24. data/lib/httpx/plugins/proxy/socks5.rb +4 -0
  25. data/lib/httpx/pmatch_extensions.rb +33 -0
  26. data/lib/httpx/punycode.rb +304 -0
  27. data/lib/httpx/request.rb +1 -1
  28. data/lib/httpx/response.rb +2 -0
  29. data/lib/httpx/selector.rb +41 -37
  30. data/lib/httpx/utils.rb +6 -4
  31. data/lib/httpx/version.rb +1 -1
  32. data/sig/chainable.rbs +5 -0
  33. data/sig/connection/http1.rbs +2 -0
  34. data/sig/connection/http2.rbs +2 -0
  35. data/sig/options.rbs +1 -1
  36. data/sig/plugins/aws_sdk_authentication.rbs +2 -0
  37. data/sig/plugins/basic_authentication.rbs +1 -1
  38. data/sig/plugins/digest_authentication.rbs +1 -1
  39. data/sig/plugins/follow_redirects.rbs +1 -1
  40. data/sig/plugins/grpc.rbs +93 -0
  41. data/sig/plugins/multipart.rbs +1 -1
  42. data/sig/plugins/ntlm_authentication.rbs +27 -0
  43. data/sig/plugins/proxy/socks4.rbs +1 -0
  44. data/sig/plugins/proxy/socks5.rbs +1 -0
  45. data/sig/selector.rbs +1 -0
  46. data/sig/utils.rbs +7 -0
  47. metadata +19 -3
  48. data/lib/httpx/idna.rb +0 -15
data/lib/httpx/idna.rb DELETED
@@ -1,15 +0,0 @@
1
- module HTTPX
2
- module IDNA
3
- module_function
4
-
5
- begin
6
- require "idn"
7
-
8
- def convert(non_ascii_hostname); end
9
- rescue LoadError
10
- def convert(non_ascii_hostname)
11
- DomainName.new(non_ascii_hostname).hostname
12
- end
13
- end
14
- end
15
- end