summaryrefslogtreecommitdiff
path: root/lib/net/hippie/client.rb
AgeCommit message (Collapse)Author
2025-07-06docs: add comprehensive RDoc documentation for 2.0 releasemo khan
- Add detailed module overview for Net::Hippie with features and examples - Document all Client class methods with parameters, return values, and examples - Add complete Connection and RubyConnection class documentation - Document ContentTypeMapper with serialization behavior and examples - Add RustBackend module documentation with availability detection - Include ResponseAdapter compatibility layer documentation - Add @since tags tracking feature introduction versions - Include cross-references and detailed usage examples - Document new Rust backend architecture and environment configuration This provides comprehensive API documentation for the 2.0 major release, covering both the traditional Ruby backend and new Rust backend features. The documentation includes migration examples and performance notes. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2024-12-05feat: disable logger by defaultmo khan
2020-07-31Enable new rubocop rulesmo khan
2020-06-13Extract Http Connection classmo khan
2020-06-12Update CHANGELOG and CI configurationmo khan
2020-06-12Reduce # of instance variablesmo khan
2020-06-12Create default_client to simplify usagemo khan
2020-01-28Fix bug in redirecting to relative pathsv0.3.2mo khan
2020-01-14Fix bugs in following redirectsmo khan
2020-01-13Allow following redirectsmo khan
2019-04-30fix linter errorsmokha
2019-04-29Update client.rbZouski
2019-04-29Add patch to hippieZouski
2019-02-06revert change in 0.2.4mokha
```text The absoluteURI form is REQUIRED when the request is being made to a proxy. The proxy is requested to forward the request or service it from a valid cache, and return the response. Note that the proxy MAY forward the request on to another proxy or directly to the server To allow for transition to absoluteURIs in all requests in future versions of HTTP, all HTTP/1.1 servers MUST accept the absoluteURI form in requests, even though HTTP/1.1 clients will only generate them in requests to proxies. In this case the absolute path of the URI MUST be transmitted (see section 3.2.1, abs_path) as the Request-URI, and the network location of the URI (authority) MUST be transmitted in a Host header field. For example, a client wishing to retrieve the resource above directly from the origin server would create a TCP connection to port 80 of the host "www.w3.org" and send the lines: GET /pub/WWW/TheProject.html HTTP/1.1 Host: www.w3.org ``` https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html
2019-02-06default path to "/"mokha
2019-02-06send path instead of full uri.v0.2.4mokha
Some servers do not respond well to sending the full path and rely on the path instead.
2019-02-01configure global verify modemokha
2019-02-01compacting definition of attr_accessorsazohoori
2019-02-01adding open timeout attributeazohoori
2018-11-10revert constant name.mo
2018-11-10extract attemp method.mo
2018-11-10fix ruby 2.3, 2.4 syntax errors.mo
```text /home/travis/build/mokhan/net-hippie/lib/net/hippie.rb:11:in `require': /home/travis/build/mokhan/net-hippie/lib/net/hippie/client.rb:77: syntax error, unexpected keyword_rescue, expecting keyword_end (SyntaxError) rescue *::Net::Hippie::CONNECTION_ERRORS => error ^ /home/travis/build/mokhan/net-hippie/lib/net/hippie/client.rb:77: dynamic constant assignment rescue *::Net::Hippie::CONNECTION_ERRORS => error ^ /home/travis/build/mokhan/net-hippie/lib/net/hippie/client.rb:77: syntax error, unexpected =>, expecting '=' rescue *::Net::Hippie::CONNECTION_ERRORS => error ^ from /home/travis/build/mokhan/net-hippie/lib/net/hippie.rb:11:in `<top (required)>' from /home/travis/build/mokhan/net-hippie/test/test_helper.rb:5:in `require' from /home/travis/build/mokhan/net-hippie/test/test_helper.rb:5:in `<top (required)>' from /home/travis/build/mokhan/net-hippie/test/net/api_test.rb:1:in `require' from /home/travis/build/mokhan/net-hippie/test/net/api_test.rb:1:in `<top (required)>' from /home/travis/build/mokhan/net-hippie/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb:15:in `require' from /home/travis/build/mokhan/net-hippie/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb:15:in `block in <main>' from /home/travis/build/mokhan/net-hippie/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb:4:in `select' from /home/travis/build/mokhan/net-hippie/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb:4:in `<main>' rake aborted! Command failed with status (1): [ruby -I"lib:test:lib" -I"/home/travis/build/mokhan/net-hippie/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib" "/home/travis/build/mokhan/net-hippie/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/rake_test_loader.rb" "test/net/api_test.rb" "test/net/client_test.rb" "test/net/content_type_mapper_test.rb" "test/net/hippie_test.rb" ] /home/travis/.rvm/rubies/ruby-2.3.8/bin/bundle:30:in `block in <main>' /home/travis/.rvm/rubies/ruby-2.3.8/bin/bundle:22:in `<main>' /home/travis/.rvm/gems/ruby-2.3.8@global/bin/ruby_executable_hooks:24:in `eval' /home/travis/.rvm/gems/ruby-2.3.8@global/bin/ruby_executable_hooks:24:in `<main>' Tasks: TOP => test (See full trace by running task with --trace) ```
2018-11-10start backoff at 100 msmo
2018-11-10fix off by one on retry logic.mo
2018-11-10fix linter errors.mokha
2018-11-10add random jitter.mokha
2018-11-10retry with exponential delaymokha
2018-11-10add retry.mokha
2018-08-14allow read_timeout override.mokha
2018-05-24fix lint error.v0.1.8mo
2018-05-24add support for URI::Generic.mokha
2018-05-18fix rubocop error.mo
2018-05-14add client.deletemokha
2018-05-14fix rubocop errors.mokha
2018-05-14inline conditional.mokha
2018-05-14test mutual tls connection.mokha
2018-05-14attempt to map body using content type header.mokha
2018-05-08capture block as parameter and remove duplication.mokha
2018-05-08fix rubocop errors.mokha
2018-05-08create Net::Hippie::Api.mokha
2018-05-07fix rubocop errors.v0.1.5mo
2018-05-07assign passphrase.mo
2018-05-07rubocop -amo
2018-05-07allow clients to override the default headers.v0.1.4mo
2018-05-07attempt to normalize uri.v0.1.3mo
2018-05-07do not accept default headers in ctor.v0.1.2mo
2018-05-07merge in default headers.mo
2018-05-07support a passphrase.v0.1.0mo
2018-05-07extract json mapper.mo
2018-05-07extract mapper method.mo