There is a distinct type of headache known as laughing headache, being in a same group with coughing, sneezing headaches, since all these maneuvers along with bending over, increase the blood pressure in the veins in head, resulting in this type of headache.
The laughing headache usually comes on suddenly and lasts for a few seconds to several minutes as sharp or stabbing and is typically located on both sides of the head and at the back of the skull.
This could be a harmless, primary headache (without underlying condition), or a secondary headache, a sign that you may have a more serious condition like brain tumor, brain vessel aneurysm or brain vessels malformation (especially, when the headaches get worse and more frequent overtime).
See your physician and ask for a MRI and even MRI with a contrast, for true evaluation!
Best wishes!
Marija