As RFC 2616 (http://www.w3.org/Protocols/rfc2616/rfc2616-
sec9.html#sec9.4) said, the HEAD method is identical to GET except
that the server MUST NOT return a message-body in the response.

But if I do not return a message-body, GAE will set the Content-Length
to 0, that's not a correct result.

So I try to return a message-body, and use socket to check the
response.
The dev server will drop the body without setting Content-Length.
The production server also drops the body, and set a correct Content-
Length. However, it also uses quotas.

I tried to send a 10 MB message-body via HEAD method, it was drop by
GAE, so only a few bytes were received, but my per-minute outgoing
bandwidth quota got used up soon after 6 requests.

I believe it's a bug of calculating the quotas.

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

Reply via email to