[Hackage] #267: cabal upload has poor error messages (just an
HTTP response code)
Hackage
trac at galois.com
Wed Apr 9 20:16:03 EDT 2008
#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):
The CGI script uses `outputError`, which returns a response with a status
header ''400 Error in upload'', with the error message (in HTML) in the
body. Cabal upload is presumably ignoring the message because it wants
plain text, but the CGI library doesn't offer that.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/267#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list