[DMC-1065] Davix should read (and log) the response body even if it's an error Created: 25/Jul/18  Updated: 28/Feb/19

Status: Open
Project: DMC - Development
Component/s: Davix
Affects Version/s: Davix 0.6.8
Fix Version/s: None
Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)

Type: Improvement Priority: Minor
Reporter: Fabrizio Furano Assignee: Georgios Bitzes
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Component Watchers:

 Description   

For example, the body of this response contains the reason of the error. Would be very useful if this info arrives to the client.

 

< HTTP/1.1 500 Internal Server Error
< Date: Wed, 25 Jul 2018 08:52:39 GMT
< Server: Apache/2.2.15 (Red Hat)
< Vary: Accept-Encoding
< Content-Length: 715
< Connection: close
< Content-Type: text/html; charset=iso-8859-1
<
DAVIX(socket): End of headers.
DAVIX(socket): Running post_headers hooks
DAVIX(http): <- negotiateRequest
DAVIX(http): <- negotiateRequest
DAVIX(chain): read size 0
DAVIX(core): Destroy HttpRequest
DAVIX(http): (EndRequest)(Libneon) Operation incomplete, kill the connection



 Comments   
Comment by Georgios Bitzes [ 25/Jul/18 ]

Have you tried --trace body?

--trace all does not show the body, confusing I know.

Comment by Andrea Manzi [ 25/Sep/18 ]

i don't understand if there is a fix related to this ticket, as it's part of davix 0.6.9 which has been just released.

Comment by Georgios Bitzes [ 25/Sep/18 ]

Hmm, indeed, there have not been any commits related to this ticket. I'm removing this entry from the release notes.

Generated at Fri Apr 19 18:59:15 CEST 2019 using Jira 7.13.1#713001-sha1:5e06076c2d215a6f699b7e5c90ab2fae7ba5a1ce.