I posted on GAE mailing list and this problem resulted to be a their bug. However I looked into restlet code and I see that the ​HttpUrlConnectionCal​l.getResponseHeaders​ method relies on URLConnection.getHeaderField(int) and getHeaderFieldKey(int) returning null if the argument value is greater than the number of headers present to iterate through all of the headers. I Think that calling getHeaderFields() instead and iterating through the returned Map could be a good alternate solution.
Isn't anyone interested in this?? ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2380714

