﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9715	Improve HTTP support for styles and presets web queries	francois.lacombe@…	team	"Hello,

I'm trying to access web published presets and style documents on a web server which asks me for credentials to grant me access.

JOSM doesn't seems to support HTTP Auth when downloading shuch config files because it only displays me ""Unexpected end of file"" resulting from a server side HTTP 401 answer.
JOSM doesn't asks for such credentials at any time.

Could you please add:
- HTTP Auth support, even Basic, to load presets and styles (and maybe for css validation files too)?
- Proper HTTP Accept header value to loading requests according to file extension (or expected by JOSM directly) to properly match HTTP 1.1 spécification.
Currently, JOSM is sending ""text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2"" as Accept header for a preset file loading query, which is wrong. JOSM expects xml only, thus it should send ""application/xml"" or ""text/xml"" as Accept header value.

Many thanks in advance to give a positive feedback to this ticket."	enhancement	closed	normal	14.02	Core		fixed	presets,styles,auth,http,mime	
