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

GitHub noreply at github.com
Thu Sep 21 13:30:11 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 4d1cc687f40dc2697005a4977e7ac40dda3d7dcf
      https://github.com/dovecot/core/commit/4d1cc687f40dc2697005a4977e7ac40dda3d7dcf
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2017-09-21 (Thu, 21 Sep 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