It's worth noting that the line numbers for the patch have changed 
slightly, but the relevant code can still be patched.

On Thursday, September 10, 2015 at 6:57:28 PM UTC-4, Nick (Cloud Platform 
Support) wrote:
>
> Hey Michael,
>
> Thanks for bringing this up. We're currently working on getting this 
> fixed. Is there any reason the patch suggested in the linked stackoverflow 
> question won't help with your SDK for now? 
>
> Best wishes,
>
> Nick
>
> On Thursday, August 20, 2015 at 1:44:22 AM UTC-4, Michael Spainhower wrote:
>>
>> 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/dbbee4b0-9015-4eda-bab7-f92b6fada444%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to