Headgear up in space (4)
I believe the answer is:
caps
'headgear' is the definition.
(caps are a type of headgear)
I don't understand how the remainder of the clue works.
Can you help me to learn more?
(Other definitions for caps that I've seen before include "Head-coverings" , "Coverings for heads or bottles" , "Coverings, for heads say" , "Crowns" , "Style of GBS writing" .)