LAMBDA-69: make HEAD request to get size
LAMBDA-69: refactoring signals.py