Hi Rajat Agrawal,
I guess this actions is already implemented on native RichMail extension: HttpBinaryGet
Please check if your component really has a different function or escope and put in your documentation to clarify it.
Thanks
Fabio