Throw HTTP error 400 on misformerd URI.