-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike,
Instantiate the class like so: HTTPBadRequest(body="explanation") Mike Orr <[email protected]> writes: > I tried returning ``HTTPBadRequest("explanation")`` in a Pyramid > handler, and I got a blank screen instead of an error message. The > HTTP status is correct but the content-length is 0. It's an Akhet > application, pretty close to the default. Is there some aspect of > Pyramid's or Paste's error handling that's being bypassed? > > -- > Mike Orr <[email protected]> - -- Parnell "ixmatus" Springmeyer (http://ixmat.us) -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJN1vyUAAoJEPvtlbpI1POLYoEH/3YZfOr0fGqdfUVezC4E4jaz QE1ml+xrBezH0l+8c4FPjh52IhIRTqNvRlZIqLyJmBOyZn6/4W/eV5flfPWORlXs NlE4Y22eqgr8n5Wxf+uozC3cSHk06oyzKMckj3OBIL062Jqwn1K55jmMDtcDo97t yvoCX8al1oaYNpZDDVEFV63bostPmL/eOCVKMNSViw5EDdl/9QRH8NPnsKDY+Rrn bKJuoQa1auBjjXz0ONyMce2qHlgIGbCfGBAPXZWZ+dOzErKZVXgWRyZWwMN8DRAo O6DnE8j5tiwg7fioWcCkggje4XjLl6xffigne3yUvnUrKu0eckHvbQN/c35VXlE= =IMwb -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
