﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13961	Print HTTP response body in console in case of error code	francois.lacombe	wiktorn	"Hi,

There is actually a lack of verbose in console when a HTTP error rose while uploading or downloading data.

JOSM print out a Java stacktrace with a message saying there was a HTTP error received after the last request instead of HTTP 200 and valid body.

But the server can send useful information about the error in the HTTP body which can help developers to find some mistakes.
Can you please forward this http body to console, and eventually keep the Java stack trace if you think it's important (IMHO it is) ?

Currently, the only way to get the HTTP error body is to reproduce the exact request and catch trafic with wireshark wile interacting with the remote API. It can be tricky with https :)

Thanks in advance"	enhancement	closed	normal	16.12	Core	tested	fixed	api, http, error, console, log	
