She was almost certainly defensive because she was fed outside her enclosure. My python did the same when I fed him that way. They just don't like to be moved, or to move much at all for that matter, after eating. You'll observe that a snake seeks out a nice, cozy and warm spot to digest after eating, and stays there for a little while.
Next time, feed her in her enclosure. She will almost certainly calm down. Just leave her be for 2-3 days after feeding. Also, you may have been told that snakes may associate your hand with food if you feed in an enclosure. Well, that is bull. Snakes rely mostly on smell to hunt, and therefore can tell the difference between a rat (food), and your hand (not food). So unless you previously handled a rodent or prey item, you should be safe.
Good luck and hope this helps,
Herpo