Has anyone found a good workaround (not patching the library) for the issue 
(https://code.google.com/p/googleappengine/issues/detail?id=10544) that 
prevents testing Exceptions raised in Endpoints handlers?

If you are unfamiliar with the issue, when an Endpoints handler raises an 
Exception during an automated test, the content-length of the response is 
not updated according to the content size of the serialized Exception and 
raises "AssertionError: Content-Length is different from actual app_iter 
length (512!=93)"

Hopefully the real fix is released soon.  Even though this is a dev and 
testing, not production, issue, not being able to test Exception handling 
is a pretty significant issue as far as non-production issues go.

More context / See 
also: 
http://stackoverflow.com/questions/24219654/content-length-error-in-google-cloud-endpoints-testing

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/487bbca5-d6d6-4b57-bf8d-ca00d8d59e49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to