refactored requestType extraction logic to a more condenced format
Merge remote-tracking branch 'origin/master'