Closed
Bug 948235
Opened 10 years ago
Closed 10 years ago
Zippy returns errors as HTML
Categories
(Marketplace Graveyard :: Payments/Refunds, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: andy+bugzilla, Unassigned)
Details
~ $ curling http://localhost:8080/products -X POST --data='{"foo": "bar"}' <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Error</title> <link rel="stylesheet" href="/css/zippy.css"> </head> <body class="error"> <div class="page"> <main role="main"> <h1>InvalidArgument</h1> <div class="msg"> <p>{"name":"This field is required.","external_id":"This field is required.","seller_id":"This field is required."}</p> </div> </main></div></body> </html> That should be a JSON response.
Reporter | ||
Updated•10 years ago
|
Summary: Zippy returns errors HTML → Zippy returns errors as HTML
Reporter | ||
Comment 1•10 years ago
|
||
Accept: application/json wasn't being sent by curling.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 2•10 years ago
|
||
Heh, I went to reproduce it and grabbed the latest curling which already had the fix :)
Reporter | ||
Comment 3•10 years ago
|
||
I admire your zeal in looking at resolved bugs.
You need to log in
before you can comment on or make changes to this bug.
Description
•