flesh out HTTP method handling