[dokuwiki] New PR: DokuHTTPClient: Add handling for 204: No Content responses

  • From: "micgro42" <wiki@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 13 Apr 2018 15:57:23 +0200 (CEST)

Hi,

micgro42 opened a new pull request at 
https://github.com/splitbrain/dokuwiki/pull/2309:

This fixes a bug that would occur if the DokuHTTPClient receives a 204 
response, e.g. as a result for a request to delete something. It would still 
try to read the body, which fails, thus producing a timeout and
finally throwing an exception.

This fix instructs the HTTPClient to not read the (not existing) body if it 
receives a 204.

This fixes #2308 

Please help us to review this pull request, so new contributors get feedback in 
a timely manner.

96be9330-3f22-11e8-9541-6877d35e9cea


-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts:

  • » [dokuwiki] New PR: DokuHTTPClient: Add handling for 204: No Content responses - micgro42