
#267: cabal upload has poor error messages (just an HTTP response code) ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.2 | Platform: ----------------------------+----------------------------------------------- Comment (by ross): Replying to [comment:3 duncan]:
At the moment we're sending `Accept: text/plain` and getting `Content- Type: text/html; charset=ISO-8859-1` as a response.
That is done by `outputError` in the cgi package. Björn Bringert is rewriting `outputError` and friends to check HTTP_ACCEPT and send the error messages as text/plain if requested. When that's done, the server side will require only a recompile. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/267#comment:4 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects