Bug fix: http return headers