Restful icon indicating copy to clipboard operation
Restful copied to clipboard

Bad HTTP code returned for invalid Accept header

Open janedbal opened this issue 10 years ago • 0 comments

Before commit 7530d8d5b25038564843de024204d540d317c4ed, there was correct 406 code sent, when server didn't understand the Accept header. Now it sends 415, which is completly different. This commit should probably be reverted (maybe with little bit better message with quotes around the header contents?).

janedbal avatar Feb 13 '15 10:02 janedbal