feat: implement new fragment
behavior to support head
and body
#177
+59
−21
fragment
behavior to support head
and body
#177