simplified HttpInput lock design