[dovecot/core] a03648: lib-http: client: Send empty payload (Content-Leng...

GitHub noreply at github.com
Wed Nov 15 19:00:18 EET 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: a03648ba57bc53be8ec8c16140a0aaf761ddcb0d
      https://github.com/dovecot/core/commit/a03648ba57bc53be8ec8c16140a0aaf761ddcb0d
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-11-15 (Wed, 15 Nov 2017)

  Changed paths:
    M src/lib-http/http-client-private.h
    M src/lib-http/http-client-request.c
    M src/lib-http/http-client.h

  Log Message:
  -----------
  lib-http: client: Send empty payload (Content-Length: 0) for requests that normally expect a payload.

This includes the standard POST and PUT methods.
Others need to use the new http_client_request_set_payload_empty() function to force sending an empty payload.




More information about the dovecot-cvs mailing list