Moved send method
Enabled setting the response status dynamically