Sorry, my last email was worded poorly. What I meant was, "I assume what you
meant by your original email is that we have a mismatch from the w3 standard
for content length and HEAD requests." I've updated your issue in the
tracker.

On Wed, Feb 10, 2010 at 11:59 AM, Ikai L (Google) <[email protected]> wrote:

> I assume you're going by this standard:
>
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
>
> <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html>The length that is
> being set if the full body were returned. This is likely being overridden
> somewhere downstream in our serving stack. I'll file an issue internally.
>
> On Thu, Feb 4, 2010 at 12:03 PM, Sean Gilligan <[email protected]>wrote:
>
>> Hi,
>>
>> I created an issue report for this <
>> http://code.google.com/p/googleappengine/issues/detail?id=2719> but
>> thought I'd post here as well in case I'm missing something or there is a
>> known workaround.
>>
>> I'm using resp.setContentLength(data.length) to set the Content-Length
>> header.  It works for GET requests on both the local and production servers.
>>  For HEAD requests on the production server Content-Length: 0 is returned.
>>  I'm using "curl -I URL" to test.  The complete source of a simple servlet
>> that exhibits the problem is pasted into Issue #2719.
>>
>> Any ideas?
>>
>> Thanks,
>>
>> Sean
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-appengine-java%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>>
>
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> http://googleappengine.blogspot.com | http://twitter.com/app_engine
>



-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
http://googleappengine.blogspot.com | http://twitter.com/app_engine

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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/google-appengine-java?hl=en.

Reply via email to