Whenever I request an external URL using urlfetch on GAE I get the following warning:
WARNING 2012-03-16 15:37:21,474 urlfetch_stub.py:428] Stripped prohibited headers from URLFetch request: ['Content-Length']
I understand why this is happening, and that I won't be able to stop the underlying issue. Is there a way I can suppress this warning so that it doesn't clog up the logs? Of course I'd still want to know about any other warnings/errors that urlfetch wanted to log.
There's no way to suppress it from the logs, you'll have to suppress the Content-type header.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With