get code from a pdu package ( POST, GET...)

I think this functions in needed.

Thank you in advance.