fix bug about "mixed content request".