[Hackage] #267: cabal upload has poor error messages (just an HTTP response code)

Hackage trac at galois.com
Thu May 1 19:16:50 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):

 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


More information about the cabal-devel mailing list