[libhttp-tiny-perl] annotated tag upstream/0.049 created (now 42af47d)

gregor herrmann gregoa at debian.org
Sun Sep 7 16:08:51 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a change to annotated tag upstream/0.049
in repository libhttp-tiny-perl.

        at  42af47d   (tag)
   tagging  8cb0b32bc3fac7548b51e1b533ae8a8e7ded75cc (commit)
  replaces  upstream/0.047
 tagged by  gregor herrmann
        on  Sun Sep 7 18:01:44 2014 +0200

- Log -----------------------------------------------------------------
Upstream version 0.049

Alan Gardner (3):
      Add SSL-specific error messages
      Use the user-specified CA bundle before trying other options
      Enable AUTO_RETRY on SSL sockets

Alessandro Ghedini (1):
      fix spelling error

Brad Gilbert (3):
      Add method _agent to HTTP::Tiny
      Make agent attribute behave more like LWP::UserAgent
      Added 'agent' changes to 'Changes' file

Chris Nehren (3):
      Fix the dist.ini Suggests listing. doy++
      Note lack of IPv6 support.
      Add local IP address binding support.

Chris Weyl (1):
      Make agent strings behave the same way LWP::UserAgent does

Claes Jakobsson (1):
      Use env http_proxy if it's set to something true and 'proxy' is not passed to new

Clinton Gormley (1):
      Added support for persistent connections

Craig Berry (1):
      Empty commit to note Craig Berry as a contributor

David Golden (369):
      Add modeline so I won't mess up indendation
      Ensure no unexpected subroutines in API
      Have git/request take args hashref, not list
      Check API arguments or croak
      Accept only valid attributes for HTTP::Tiny->new()
      Return response as a hashref
      Rename generic 'content' and 'on_content' variables
      Refactor write_*_body logic
      Do redirection before reading a response body
      Have read_response_headers return hashref
      Support 100 Continue responses
      Add a short URL test with a path and query params
      Minor refactoring of redirection logic
      Add XXX comment about max_size
      Refactor read_*_body
      Refactor request data and method calls
      remove unused accessors
      refactor can_* methods
      convert response loop to do/until
      more refactoring of header prep
      Simplify checks for default scheme and port
      move host_port into request and reorder stanzas
      refactor redirection logic further
      finish converting _request to use response hashref
      rename response callback for shorter lines
      Refactor response callback generation
      Hide HTTP::Tiny::Handle from PAUSE
      Add XXX comment about BUFSIZE
      Ensure infinite loops will exit
      Use length instead of computing read offsets
      Merge string appends
      write_content_body is always called with a length
      Check utf8::downgrade only if there is data
      Refactor read_chunked_body
      Return undef from read_body
      Add XXX comments for trailing headers
      Add XXX comment about protocol
      Possible monkeypatch for testing
      Add .gitignore
      add dzil artifacts to gitignore
      fix t/Util.pm compile errors and warnings
      move modeline to top to avoid pod reweaving
      Add minimal documentation
      Add dist.init
      add Changes
      bump Changes
      add basic documentation for new, get, and request methods
      Only call utf8::downgrade for Perl 5.8.0+
      update Changes
      bump Changes
      add _http_date method
      Add 'ok' field to response structure
      Add mirror method
      Fix typo in method name
      Update Changes with new features
      Add example of 'ok' to the SYNOPSIS
      Add example mirroring program
      add 'mirror' to the API test file
      bump Changes
      rename ok response field to success
      handle all three required HTTP/1.1 date formats
      documented callbacks
      bump Changes
      Add simple client GET test
      restore git_remote to dist.ini
      refactor get testing to use external case files
      tidying code slightly
      Add test case for GET with extra headers
      update Changes
      add tests for mirror()
      refactor mirror tests
      add test for GET with 404 response
      fix usage message typo
      test HTTP::Tiny error messages
      add mirror case with provided if-modified-since header
      fix typo in test labeling
      add test for PUT and fix read_body bug
      Add content callback test
      add tests for chunked transfers
      update Changes
      add test for GET to non-default port
      more test cases
      change test labeling
      get expected response code directly from test case
      more test refactoring
      host/port testing
      add proxy test
      always test for expected content
      revise t/Util.pm to support redirection testing
      add basic redirection checking
      fix max redirection off-by-one bug
      add max redirect test cases
      remove trailing spaces
      mock handle close
      remove trailing spaces
      rename test label
      fix another redirect off-by-one bug
      add another redirection test case
      fix bugs in redirection testing
      add minimum File::Temp prereq
      return to using IO::File->new_tmpfile
      add ability to test content vs regex and special rc
      add test for max_size
      tidy code and remove trailing spaces
      update Changes
      Add live test getting google homepage
      Fix bug getting content with no content-length
      Documentation tweaks
      bump Changes
      add test case for no content-length
      fix up content-length and line endings in tests
      Update Changes
      revise Pod abstract
      Amend Changes
      bump Changes
      Handle http:///... as http://localhost/...
      test chunked transfer extensions are ignored
      Test and document that headers can be an arrayref
      improve handling of unsupported or malformed protocols
      fix bug getting HTTP protocol
      correct usage message for read_body()
      Refactor chunked transfer trailer aggregation
      read_body() requires 3 arguments
      Deal with multiple Transfer-Encoding headers
      Test and document C<Connection: close>
      General documentation improvements
      Ignore all 1XX codes, not just 100
      Retry once on broken connection
      Clarify in code when partial reads are OK
      Add support for redirecting 303 and 307
      fix bug keeping state during requests
      allow redirection tests to set request method
      Add 303 to redirect any method
      modify method on 303 redirection
      test 303 redirection of POST
      Document redirection limitations
      Update Changes for 303/307
      Set a default Content-Type if there is content
      document that URLs must be escaped by the user
      Document no support for OPTIONS *
      Document URL escaping/encoding requirements
      Add LWP::UserAgent to SEE ALSO
      bump Changes
      document more limitations
      Experimental support for IO::Socket::SSL
      add support for trailing headers callback
      Document lack of support for https via proxy
      remove some XXX comments
      Don't return an unused value
      inline the protocol version of requests
      Note SSL support in Changes
      add response hashref as an arg for data callbacks
      Add POST example and tweak GET example
      simplify t/200_live.t
      bump Changes
      minor documentation and Changes improvements
      workaround for IO::Socket::SSL verify_hostname bug
      bump Changes
      Fix tests for VMS
      bump Changes
      less verbose load testing
      remove Errno as prereq
      bump Changes
      fix typo in Changes
      set binmode during mirror
      document lack of CA support
      bump Changes
      add README.PATCHING
      update dist.ini for more contributor friendly operation
      Merge remote-tracking branch 'claesjac/master'
      Revise documentation of http_proxy support.
      Convert internal croaks to dies
      bump Changes
      fix bug in API test
      Add shorthand methods for all HTTP verbs
      Added META.json and README.pod to repo
      Add post_form method for x-www-form-urlencoded data
      URI escape space with '+'
      allow arrayref form data and multiple values
      fix trailing whitespace
      add post_form to API check
      ensure post_form header merging happens in lower-case
      Add tests for post_form
      Update README.pod
      Fix dereference error in post_form
      Add more post_form test cases
      rename post_form test case files
      rename put test file
      Added test files for head/delete/post methods
      Add www_form_urlencode method
      bump Changes
      Merge pull request #3 from AlexBio/master
      update Changes
      Merge pull request #4 from tonycoz/perl_unicode
      Updated Changes
      v0.015
      bump Changes
      protect utf8::encode for perl < 5.8.0
      emulate utf8::encode for Perl v5.6
      Updated Changes and meta files
      bump Changes
      Clarify that max_size and timeout return 599 on error
      updated meta files
      clarify that success is usually 2XX
      updated README in repo
      updated Changes
      fix spelling, silence critic, pass xtests
      bump Changes
      fix documentation of content option
      document URL returned in response hashref
      update Changes for URL in response hashref
      test URL in response hashref
      wrap request() POD bullets in C<>
      updated meta files
      add new attributes to coverage list
      Add Mike Doherty to authors list
      revise SSL documentation
      updated META
      rename SSL_opts to SSL_options
      clean up conditional load of IO::Socket::SSL
      refactor CA bundle search logic
      fix up IO::Socket::SSL/Mozilla::CA prereqs (as suggests)
      refactor SSL argument initialization
      revise SSL argument logic
      report SSL error if SSL connection fails
      make die() quoting consistent with the rest of the code
      bump Changes
      fix Changes typo
      updated README and META
      bump Changes
      report on prereqs during automated testing
      bump Changes
      skip SSL tests if a proxy is set
      v0.021
      bump Changes
      updated Changes, README, META
      bump Changes
      Merge pull request #11 from castaway/master
      remove trailing space
      changed IO::Socket::SSL prereq version check in testing
      updated Changes and meta
      add OpenSSL library version diagnostics to SSL test output
      force optional prereqs for a TRIAL release to get test coverage
      bump Changes
      disarm SSL prereqs from testing
      updated README and META
      bump recommended Net::SSLeay to 1.49
      update Changes, README, META
      fixup stopwords and perlcriticrc
      rename README.PATCHING to CONTRIBUTING (for github)
      bump Changes
      rename agent.t file
      implement default agent appending without extra subroutine
      shorten and correct agent attribute description
      updated Changes, README, meta
      bump Changes
      add cookie_jar stub attribute
      make t::SimpleCookieJar slightly more corret
      handle multiple set-cookie headers
      retab
      tighten code and s/Cookies/Cookie/ for the header
      tighten cookie jar duck typing
      optionally run cookie tests with HTTP::CookieJar if installed
      ensure all croak messages have newline
      update limitations note about cookies
      updated Changes and meta files
      stopwords and xt
      bump Changes
      add hyperlink to HTTP::CookieJar in POD
      set github as issues repository
      update README and meta
      point repo/issues metadata to chansen repository
      bump Changes
      fix repository/issues links
      bump Changes
      don't use SSL_hostname unless we have new enough openssl library
      add stopword
      bump Changes
      prohibit request bodies for GET, HEAD, DELETE and TRACE
      Allow content for GET, etc., but don't set headers on empty content
      v0.030
      bump Changes
      fix bug receiving 0-length content bodies
      v0.031
      bump Changes
      add some things to SEE ALSO
      redesign no_proxy feature
      updated meta files
      bump Changes
      revise agent/_agent changes
      updated meta
      bump Changes
      make _split_url returns user/password info
      add Basic auth support from URL
      revise auth tests to confirm no leak on redirect
      document Basic auth support
      v0.034
      bump Changes
      preserve term order for array ref data given to post_form
      update dist.ini and support files
      bump Changes
      update support files
      update cpanfile for lower EU::MM configure_requires
      trim dist.ini: new DAGOLDEN and Pod::Spell fix things
      bump Changes
      Suggest HTTP::Tiny::UA for future enhancements
      try 200_live_local_ip test url up to 3 times
      update cpanfile
      unescape any basic authentication stanza
      bump Changes
      fix basic auth in URL overriding existing auth header
      update cpanfile
      bump Changes
      updated cpanfile to include Fcntl
      updated Changes
      .travis.yml
      fix problem with how Fcntl functions were called under strictures
      bump Changes
      change local IP test host to google.com for reliability
      add Basic auth for HTTP proxies
      refactor SSL initiation to separate subroutine
      refactor proxy connection code
      refactor Basic auth header generation
      Add support for CONNECT and https proxies
      update cpanfile
      Only persist 1.1 connections and clarify persist logic
      use keep_alive by default
      Keep connection if some attributes are modified
      Avoid blocking SSL socket on can_read
      stop redefined warnings in cookie jar tests
      only proxy if we have a proxy for the request scheme
      fix up coverage whitelist
      update distribution meta files
      bump Changes
      updated Changes
      bump Changes
      add optional support for IO::Socket::IP
      Add private PERL_HTTP_TINY_IPV4_ONLY environment variable
      update Changes
      document that HTTP::Tiny is considered feature-complete
      doc fixes
      bump Changes
      store host name in request hash
      clear https_proxy and all_proxy when monkey patching in tests
      don't use absolute request URI for a tunneled proxy connection
      update Changes
      bump Changes
      fixed typo
      fix bullet list formatting
      make custom 'Host' header a fatal exception
      ensure empty host from _split_url comes back as localhost
      updated Changes
      update cpanfile
      Let explit proxy undef bypass proxies from environment
      bump Changes
      fix t/002_croakage.t
      v0.045
      bump Changes
      remove header field value validation; render undef as empty string
      Reference RFC 7230-7235 instead of 2616
      bump Changes
      Update Mozilla::CA recommended version
      generate fixed t/00-report-prereqs.t
      bump Changes
      update cpanfile for new test requirements
      updated Changes
      bump Changes
      make 'keep-alive' fork-safe and thead-safe
      fix required Test::More version in t/210_live_ssl.t

David Mitchell (1):
      Empty commit to note Dave Mitchell as a contributor

Edward Zborowski (1):
      Added cookie support to HTTP::Tiny

James Raspass (1):
      Optimise _split_url for speed.

Jess Robinson (1):
      Check version of IO::Socket::SSL for live tests

Martin J. Evans (1):
      Avoid multiple small writes

Martin-Louis Bright (1):
      typo: 'will includes' should be 'will include'

Mike Doherty (10):
      Pass SSL_opts hashref through to IO::Socket::SSL
      Specify hostname for SNI, and permit setting the SSL_verifycn_name
      Add docs on default SSL validation & what the user can do with SSL_opts
      Use Mozilla::CA to verify SSL certs, if available
      Add a verify_SSL option to easily turn on secure SSL operations
      Update Changes to correspond to the current state of my SSL work
      Require IO::Socket::SSL 1.56 as a minimum
      improve 210_live_ssl.t test diagnostics
      Also specify IO::Socket::SSL version requirement in META
      Add checks for Net::SSLeay version 1.49

Petr Písař (1):
      Do not use already existing temporary files

Serguei Trouchelle (1):
      Empty commit to note Serguei Trouchelle as a contributor

Syohei YOSHIDA (1):
      Support no_proxy

Sören Kornetzki (1):
      Issue #45 Empty HTTP header values causes "Invalid HTTP header field value" fatal

Tom Hukins (1):
      Ensure tests pass with a SOCKS proxy configured

Tony Cook (2):
      make sure PERL_UNICODE doesn't affect the test data we read
      Empty commit to note Tony Cook as a contributor

chansen (18):
      Initial version of HTTP::Tiny
      write_header_lines() ensure valid field names and values
      minor refactor of split_url()
      move HTTP::Tiny::Handle::split_url to HTTP::Tiny package
      Responses with status code 100, 204 or 304 has no message body
      Reorder return values of ->read_response_header, put version/protocol last
      Added support for arbitrary HTTP methods
      Added support for 301 and 302 redirection for GET and HEAD requests
      Provide accessors for agent, timeout and max_redirect
      Make split_url private/protected
      Added a API test
      Use canonical value in Host header, some versions of Apache have issues with host:(?:80|443) in redirections
      Default User-Agent string should the product ABNF rule (token ["/" token])
      Adapt eg/get.pl to the new return value
      Transfer-coding values are case-insensitive.
      Added a test case that asserts:
      Merge response trailers with headers.
      Test expected response headers

gregor herrmann (1):
      Imported Upstream version 0.049

leklund (1):
      added final URL to response hashref

-----------------------------------------------------------------------

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhttp-tiny-perl.git



More information about the Pkg-perl-cvs-commits mailing list